aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index f263b3abf46e..19ad43af62d0 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -213,6 +213,7 @@ extern struct clocksource *clock; /* current clocksource */
213 213
214#define CLOCK_SOURCE_WATCHDOG 0x10 214#define CLOCK_SOURCE_WATCHDOG 0x10
215#define CLOCK_SOURCE_VALID_FOR_HRES 0x20 215#define CLOCK_SOURCE_VALID_FOR_HRES 0x20
216#define CLOCK_SOURCE_UNSTABLE 0x40
216 217
217/* simplify initialization of mask field */ 218/* simplify initialization of mask field */
218#define CLOCKSOURCE_MASK(bits) (cycle_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) 219#define CLOCKSOURCE_MASK(bits) (cycle_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1)