Commit 1ad106ca authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds

[PATCH] hrtimer: coding style clean up of clock constants

clean up the CLOCK_ portions of time.h
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0c4f6eec
...@@ -100,7 +100,6 @@ struct itimerval { ...@@ -100,7 +100,6 @@ struct itimerval {
struct timeval it_value; /* current value */ struct timeval it_value; /* current value */
}; };
/* /*
* The IDs of the various system clocks (for POSIX.1b interval timers). * The IDs of the various system clocks (for POSIX.1b interval timers).
*/ */
...@@ -112,18 +111,14 @@ struct itimerval { ...@@ -112,18 +111,14 @@ struct itimerval {
/* /*
* The IDs of various hardware clocks * The IDs of various hardware clocks
*/ */
#define CLOCK_SGI_CYCLE 10 #define CLOCK_SGI_CYCLE 10
#define MAX_CLOCKS 16 #define MAX_CLOCKS 16
#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
#define CLOCKS_MONO (CLOCK_MONOTONIC) #define CLOCKS_MONO CLOCK_MONOTONIC
/* /*
* The various flags for setting POSIX.1b interval timers. * The various flags for setting POSIX.1b interval timers.
*/ */
#define TIMER_ABSTIME 0x01 #define TIMER_ABSTIME 0x01
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment