diff options
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r-- | include/linux/tick.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h index c2dcfb18f65b..d290168335bc 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -158,10 +158,12 @@ static inline u64 get_cpu_iowait_time_us(int cpu, u64 *unused) { return -1; } # endif /* !CONFIG_NO_HZ_COMMON */ #ifdef CONFIG_NO_HZ_FULL +extern void tick_nohz_init(void); extern int tick_nohz_full_cpu(int cpu); extern void tick_nohz_full_kick(void); extern void tick_nohz_full_kick_all(void); #else +static inline void tick_nohz_init(void) { } static inline int tick_nohz_full_cpu(int cpu) { return 0; } static inline void tick_nohz_full_kick(void) { } static inline void tick_nohz_full_kick_all(void) { } |