|
@@ -4,6 +4,8 @@
|
|
#include <linux/hrtimer.h>
|
|
#include <linux/hrtimer.h>
|
|
#include <linux/tick.h>
|
|
#include <linux/tick.h>
|
|
|
|
|
|
|
|
+#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
|
|
|
|
+
|
|
#define TICK_DO_TIMER_NONE -1
|
|
#define TICK_DO_TIMER_NONE -1
|
|
#define TICK_DO_TIMER_BOOT -2
|
|
#define TICK_DO_TIMER_BOOT -2
|
|
|
|
|
|
@@ -135,5 +137,7 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
|
|
return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
|
|
return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
+
|
|
extern void do_timer(unsigned long ticks);
|
|
extern void do_timer(unsigned long ticks);
|
|
extern seqlock_t xtime_lock;
|
|
extern seqlock_t xtime_lock;
|