diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tick.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h index cf435e45959..9a7252e089b 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -59,6 +59,7 @@ struct tick_sched { extern void __init tick_init(void); extern int tick_is_oneshot_available(void); +extern struct tick_device *tick_get_device(int cpu); # ifdef CONFIG_HIGH_RES_TIMERS extern int tick_init_highres(void); @@ -69,6 +70,16 @@ extern void tick_cancel_sched_timer(int cpu); static inline void tick_cancel_sched_timer(int cpu) { } # endif /* HIGHRES */ +# ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST +extern struct tick_device *tick_get_broadcast_device(void); +extern cpumask_t *tick_get_broadcast_mask(void); + +# ifdef CONFIG_TICK_ONESHOT +extern cpumask_t *tick_get_broadcast_oneshot_mask(void); +# endif + +# endif /* BROADCAST */ + # ifdef CONFIG_TICK_ONESHOT extern void tick_clock_notify(void); extern int tick_check_oneshot_change(int allow_nohz); |