aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-12-06 06:47:55 -0500
committerIngo Molnar <mingo@elte.hu>2011-12-06 14:51:18 -0500
commitfdaabd800bdd60652a448994eeb77442180db6c0 (patch)
treec66947d9a7ffac9f66395354878ba0184d010f9e
parent44252e421ad81e711c5a9db158fad7f433f70665 (diff)
sched: Fix compile error for UP,!NOHZ
Commit 69e1e811 ("sched, nohz: Track nr_busy_cpus in the sched_group_power") messed up the static inline function definition. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Link: http://lkml.kernel.org/n/tip-abjah8ctq5qrjjtdiabe8lph@git.kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 295666cb5b86..64527c499624 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -277,7 +277,7 @@ extern void set_cpu_sd_state_idle(void);
277extern int get_nohz_timer_target(void); 277extern int get_nohz_timer_target(void);
278#else 278#else
279static inline void select_nohz_load_balancer(int stop_tick) { } 279static inline void select_nohz_load_balancer(int stop_tick) { }
280static inline void set_cpu_sd_state_idle(void); 280static inline void set_cpu_sd_state_idle(void) { }
281#endif 281#endif
282 282
283/* 283/*