summaryrefslogtreecommitdiff
path: root/include/linux/clockchips.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/clockchips.h')
-rw-r--r--include/linux/clockchips.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index 57e3c95..723a15f 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -186,12 +186,16 @@ extern int tick_receive_broadcast(void);
#endif
#if defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) && defined(CONFIG_TICK_ONESHOT)
+#ifdef CONFIG_ARM
extern void tick_setup_hrtimer_broadcast(void);
+#endif
extern int tick_check_broadcast_expired(void);
#else
static inline int tick_check_broadcast_expired(void) { return 0; }
+#ifdef CONFIG_ARM
static void tick_setup_hrtimer_broadcast(void) {};
#endif
+#endif
#ifdef CONFIG_GENERIC_CLOCKEVENTS
extern int clockevents_notify(unsigned long reason, void *arg);