aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/time.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 773b83ddd8ef..ea64cde7c450 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -104,12 +104,10 @@ struct itimerval {
104/* 104/*
105 * The IDs of the various system clocks (for POSIX.1b interval timers). 105 * The IDs of the various system clocks (for POSIX.1b interval timers).
106 */ 106 */
107#define CLOCK_REALTIME 0 107#define CLOCK_REALTIME 0
108#define CLOCK_MONOTONIC 1 108#define CLOCK_MONOTONIC 1
109#define CLOCK_PROCESS_CPUTIME_ID 2 109#define CLOCK_PROCESS_CPUTIME_ID 2
110#define CLOCK_THREAD_CPUTIME_ID 3 110#define CLOCK_THREAD_CPUTIME_ID 3
111#define CLOCK_REALTIME_HR 4
112#define CLOCK_MONOTONIC_HR 5
113 111
114/* 112/*
115 * The IDs of various hardware clocks 113 * The IDs of various hardware clocks
@@ -118,9 +116,8 @@ struct itimerval {
118 116
119#define CLOCK_SGI_CYCLE 10 117#define CLOCK_SGI_CYCLE 10
120#define MAX_CLOCKS 16 118#define MAX_CLOCKS 16
121#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC | \ 119#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
122 CLOCK_REALTIME_HR | CLOCK_MONOTONIC_HR) 120#define CLOCKS_MONO (CLOCK_MONOTONIC)
123#define CLOCKS_MONO (CLOCK_MONOTONIC & CLOCK_MONOTONIC_HR)
124 121
125/* 122/*
126 * The various flags for setting POSIX.1b interval timers. 123 * The various flags for setting POSIX.1b interval timers.