aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9a7bc5ba7e7e..2091ea2a2c5c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -273,14 +273,8 @@ extern cpumask_var_t nohz_cpu_mask;
273#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) 273#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ)
274extern void select_nohz_load_balancer(int stop_tick); 274extern void select_nohz_load_balancer(int stop_tick);
275extern int get_nohz_timer_target(void); 275extern int get_nohz_timer_target(void);
276extern int nohz_ratelimit(int cpu);
277#else 276#else
278static inline void select_nohz_load_balancer(int stop_tick) { } 277static inline void select_nohz_load_balancer(int stop_tick) { }
279
280static inline int nohz_ratelimit(int cpu)
281{
282 return 0;
283}
284#endif 278#endif
285 279
286/* 280/*