diff mbox

[2/2] timex: Sync with glibc

Message ID 1409011093-8042-2-git-send-email-raj.khem@gmail.com
State Accepted
Commit c6e8f34a358f846aa15cb9f53251da3d6668abd1
Headers show

Commit Message

Khem Raj Aug. 25, 2014, 11:58 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 include/sys/timex.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Bernhard Reutner-Fischer Aug. 26, 2014, 6:53 p.m. UTC | #1
On 26 August 2014 01:58, Khem Raj <raj.khem@gmail.com> wrote:

Applied, thanks!
diff mbox

Patch

diff --git a/include/sys/timex.h b/include/sys/timex.h
index 9082a28..57059bd 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -67,8 +67,12 @@  struct timex
 #define ADJ_ESTERROR		0x0008	/* estimated time error */
 #define ADJ_STATUS		0x0010	/* clock status */
 #define ADJ_TIMECONST		0x0020	/* pll time constant */
-#define ADJ_TICK		0x4000	/* tick value */
-#define ADJ_OFFSET_SINGLESHOT	0x8001	/* old-fashioned adjtime */
+#define ADJ_TAI			0x0080  /* set TAI offset */
+#define ADJ_MICRO		0x1000  /* select microsecond resolution */
+#define ADJ_NANO		0x2000  /* select nanosecond resolution */
+#define ADJ_TICK		0x4000  /* tick value */
+#define ADJ_OFFSET_SINGLESHOT	0x8001  /* old-fashioned adjtime */
+#define ADJ_OFFSET_SS_READ	0xa001  /* read-only adjtime */
 
 /* xntp 3.4 compatibility names */
 #define MOD_OFFSET	ADJ_OFFSET