diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch b/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch new file mode 100644 index 0000000000..5d6a0a5366 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From f489cc44a209f6c4370e94c9c788fc9cc4820be1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 25 Aug 2014 16:22:57 -0700 | ||
4 | Subject: [PATCH] timex: Sync with glibc | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Upstream-status: Pending | ||
8 | --- | ||
9 | include/sys/timex.h | 8 ++++++-- | ||
10 | 1 file changed, 6 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/include/sys/timex.h b/include/sys/timex.h | ||
13 | index 9082a28..57059bd 100644 | ||
14 | --- a/include/sys/timex.h | ||
15 | +++ b/include/sys/timex.h | ||
16 | @@ -67,8 +67,12 @@ struct timex | ||
17 | #define ADJ_ESTERROR 0x0008 /* estimated time error */ | ||
18 | #define ADJ_STATUS 0x0010 /* clock status */ | ||
19 | #define ADJ_TIMECONST 0x0020 /* pll time constant */ | ||
20 | -#define ADJ_TICK 0x4000 /* tick value */ | ||
21 | -#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ | ||
22 | +#define ADJ_TAI 0x0080 /* set TAI offset */ | ||
23 | +#define ADJ_MICRO 0x1000 /* select microsecond resolution */ | ||
24 | +#define ADJ_NANO 0x2000 /* select nanosecond resolution */ | ||
25 | +#define ADJ_TICK 0x4000 /* tick value */ | ||
26 | +#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ | ||
27 | +#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */ | ||
28 | |||
29 | /* xntp 3.4 compatibility names */ | ||
30 | #define MOD_OFFSET ADJ_OFFSET | ||
31 | -- | ||
32 | 2.1.0 | ||
33 | |||