diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tick.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h index 0482229c07db..8dc082194b22 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h | |||
@@ -98,6 +98,9 @@ extern int tick_check_oneshot_change(int allow_nohz); | |||
98 | extern struct tick_sched *tick_get_tick_sched(int cpu); | 98 | extern struct tick_sched *tick_get_tick_sched(int cpu); |
99 | extern void tick_check_idle(int cpu); | 99 | extern void tick_check_idle(int cpu); |
100 | extern int tick_oneshot_mode_active(void); | 100 | extern int tick_oneshot_mode_active(void); |
101 | # ifndef arch_needs_cpu | ||
102 | # define arch_needs_cpu(cpu) (0) | ||
103 | # endif | ||
101 | # else | 104 | # else |
102 | static inline void tick_clock_notify(void) { } | 105 | static inline void tick_clock_notify(void) { } |
103 | static inline int tick_check_oneshot_change(int allow_nohz) { return 0; } | 106 | static inline int tick_check_oneshot_change(int allow_nohz) { return 0; } |