diff options
Diffstat (limited to 'kernel/time/tick-internal.h')
-rw-r--r-- | kernel/time/tick-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h index 28c578568c9d..f77b93df0006 100644 --- a/kernel/time/tick-internal.h +++ b/kernel/time/tick-internal.h | |||
@@ -4,6 +4,8 @@ | |||
4 | #include <linux/hrtimer.h> | 4 | #include <linux/hrtimer.h> |
5 | #include <linux/tick.h> | 5 | #include <linux/tick.h> |
6 | 6 | ||
7 | #ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD | ||
8 | |||
7 | #define TICK_DO_TIMER_NONE -1 | 9 | #define TICK_DO_TIMER_NONE -1 |
8 | #define TICK_DO_TIMER_BOOT -2 | 10 | #define TICK_DO_TIMER_BOOT -2 |
9 | 11 | ||
@@ -135,5 +137,7 @@ static inline int tick_device_is_functional(struct clock_event_device *dev) | |||
135 | return !(dev->features & CLOCK_EVT_FEAT_DUMMY); | 137 | return !(dev->features & CLOCK_EVT_FEAT_DUMMY); |
136 | } | 138 | } |
137 | 139 | ||
140 | #endif | ||
141 | |||
138 | extern void do_timer(unsigned long ticks); | 142 | extern void do_timer(unsigned long ticks); |
139 | extern seqlock_t xtime_lock; | 143 | extern seqlock_t xtime_lock; |