The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0001-bits-time.h-sync-with-glibc-2.16.patch
1 From bb08cd16cb0353b3d4116ca8959dbecd2e78f545 Mon Sep 17 00:00:00 2001
2 From: Peter Korsgaard <jacmet@sunsite.dk>
3 Date: Tue, 3 Jul 2012 15:54:57 +0200
4 Subject: [PATCH 1/8] bits/time.h: sync with glibc 2.16
5
6 CLOCK_MONOTONIC_RAW is available since 2.6.28
7 (2d42244ae71d: clocksource: introduce CLOCK_MONOTONIC_RAW), and
8 CLOCK_*_COARSE since 2.6.32 (da15cfdae033: time: Introduce
9 CLOCK_REALTIME_COARSE).
10
11 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
13 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 ---
15  libc/sysdeps/linux/common/bits/time.h | 6 ++++++
16  1 file changed, 6 insertions(+)
17
18 diff --git a/libc/sysdeps/linux/common/bits/time.h b/libc/sysdeps/linux/common/bits/time.h
19 index 7ed54bf..c871223 100644
20 --- a/libc/sysdeps/linux/common/bits/time.h
21 +++ b/libc/sysdeps/linux/common/bits/time.h
22 @@ -54,6 +54,12 @@
23  #   define CLOCK_PROCESS_CPUTIME_ID    2
24  /* Thread-specific CPU-time clock.  */
25  #   define CLOCK_THREAD_CPUTIME_ID     3
26 +/* Monotonic system-wide clock, not adjusted for frequency scaling.  */
27 +#   define CLOCK_MONOTONIC_RAW         4
28 +/* Identifier for system-wide realtime clock, updated only on ticks.  */
29 +#   define CLOCK_REALTIME_COARSE       5
30 +/* Monotonic system-wide clock, updated only on ticks.  */
31 +#   define CLOCK_MONOTONIC_COARSE      6
32  
33  /* Flag to indicate time is absolute.  */
34  #   define TIMER_ABSTIME               1
35 -- 
36 1.8.1.2
37