diff options
Diffstat (limited to 'include/linux/time.h')
-rw-r--r-- | include/linux/time.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index b3061782dec3..a9242773eb24 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -302,6 +302,12 @@ struct itimerval { | |||
302 | * The IDs of various hardware clocks: | 302 | * The IDs of various hardware clocks: |
303 | */ | 303 | */ |
304 | #define CLOCK_SGI_CYCLE 10 | 304 | #define CLOCK_SGI_CYCLE 10 |
305 | |||
306 | #ifdef __KERNEL__ | ||
307 | /* This clock is not exposed to user space */ | ||
308 | #define CLOCK_REALTIME_COS 15 | ||
309 | #endif | ||
310 | |||
305 | #define MAX_CLOCKS 16 | 311 | #define MAX_CLOCKS 16 |
306 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) | 312 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) |
307 | #define CLOCKS_MONO CLOCK_MONOTONIC | 313 | #define CLOCKS_MONO CLOCK_MONOTONIC |