diff options
-rw-r--r-- | include/linux/time.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index ea64cde7c450..aded44c48d42 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -100,30 +100,25 @@ struct itimerval { | |||
100 | struct timeval it_value; /* current value */ | 100 | struct timeval it_value; /* current value */ |
101 | }; | 101 | }; |
102 | 102 | ||
103 | |||
104 | /* | 103 | /* |
105 | * The IDs of the various system clocks (for POSIX.1b interval timers). | 104 | * The IDs of the various system clocks (for POSIX.1b interval timers). |
106 | */ | 105 | */ |
107 | #define CLOCK_REALTIME 0 | 106 | #define CLOCK_REALTIME 0 |
108 | #define CLOCK_MONOTONIC 1 | 107 | #define CLOCK_MONOTONIC 1 |
109 | #define CLOCK_PROCESS_CPUTIME_ID 2 | 108 | #define CLOCK_PROCESS_CPUTIME_ID 2 |
110 | #define CLOCK_THREAD_CPUTIME_ID 3 | 109 | #define CLOCK_THREAD_CPUTIME_ID 3 |
111 | 110 | ||
112 | /* | 111 | /* |
113 | * The IDs of various hardware clocks | 112 | * The IDs of various hardware clocks |
114 | */ | 113 | */ |
115 | 114 | #define CLOCK_SGI_CYCLE 10 | |
116 | 115 | #define MAX_CLOCKS 16 | |
117 | #define CLOCK_SGI_CYCLE 10 | 116 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) |
118 | #define MAX_CLOCKS 16 | 117 | #define CLOCKS_MONO CLOCK_MONOTONIC |
119 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) | ||
120 | #define CLOCKS_MONO (CLOCK_MONOTONIC) | ||
121 | 118 | ||
122 | /* | 119 | /* |
123 | * The various flags for setting POSIX.1b interval timers. | 120 | * The various flags for setting POSIX.1b interval timers. |
124 | */ | 121 | */ |
125 | 122 | #define TIMER_ABSTIME 0x01 | |
126 | #define TIMER_ABSTIME 0x01 | ||
127 | |||
128 | 123 | ||
129 | #endif | 124 | #endif |