diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 6 |
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) |
274 | extern void select_nohz_load_balancer(int stop_tick); | 274 | extern void select_nohz_load_balancer(int stop_tick); |
275 | extern int get_nohz_timer_target(void); | 275 | extern int get_nohz_timer_target(void); |
276 | extern int nohz_ratelimit(int cpu); | ||
277 | #else | 276 | #else |
278 | static inline void select_nohz_load_balancer(int stop_tick) { } | 277 | static inline void select_nohz_load_balancer(int stop_tick) { } |
279 | |||
280 | static inline int nohz_ratelimit(int cpu) | ||
281 | { | ||
282 | return 0; | ||
283 | } | ||
284 | #endif | 278 | #endif |
285 | 279 | ||
286 | /* | 280 | /* |