@@ -107,12 +107,13 @@ static inline void tick_resume_broadcast(void) { }
static inline bool tick_resume_check_broadcast(void) { return false; }
static inline void tick_broadcast_init(void) { }
static inline int tick_broadcast_update_freq(struct
clock_event_device *dev, u32 freq) { return -ENODEV; }
-
+#ifdef CONFIG_GENERIC_CLOCKEVENTS
/* Set the periodic handler in non broadcast mode */
static inline void tick_set_periodic_handler(struct
clock_event_device *dev, int broadcast)
{
dev->event_handler = tick_handle_periodic;
}
+#endif
#endif /* !BROADCAST */