aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tick.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r--include/linux/tick.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h
index cf435e459598..9a7252e089b9 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -59,6 +59,7 @@ struct tick_sched {
59 59
60extern void __init tick_init(void); 60extern void __init tick_init(void);
61extern int tick_is_oneshot_available(void); 61extern int tick_is_oneshot_available(void);
62extern struct tick_device *tick_get_device(int cpu);
62 63
63# ifdef CONFIG_HIGH_RES_TIMERS 64# ifdef CONFIG_HIGH_RES_TIMERS
64extern int tick_init_highres(void); 65extern int tick_init_highres(void);
@@ -69,6 +70,16 @@ extern void tick_cancel_sched_timer(int cpu);
69static inline void tick_cancel_sched_timer(int cpu) { } 70static inline void tick_cancel_sched_timer(int cpu) { }
70# endif /* HIGHRES */ 71# endif /* HIGHRES */
71 72
73# ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
74extern struct tick_device *tick_get_broadcast_device(void);
75extern cpumask_t *tick_get_broadcast_mask(void);
76
77# ifdef CONFIG_TICK_ONESHOT
78extern cpumask_t *tick_get_broadcast_oneshot_mask(void);
79# endif
80
81# endif /* BROADCAST */
82
72# ifdef CONFIG_TICK_ONESHOT 83# ifdef CONFIG_TICK_ONESHOT
73extern void tick_clock_notify(void); 84extern void tick_clock_notify(void);
74extern int tick_check_oneshot_change(int allow_nohz); 85extern int tick_check_oneshot_change(int allow_nohz);