From: Peter Zijlstra Date: Tue, 6 Dec 2011 11:47:55 +0000 (+0100) Subject: sched: Fix compile error for UP,!NOHZ X-Git-Tag: v3.3-rc1~191^2~9^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdaabd800bdd60652a448994eeb77442180db6c0;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Cc: Suresh Siddha Link: http://lkml.kernel.org/n/tip-abjah8ctq5qrjjtdiabe8lph@git.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/include/linux/sched.h b/include/linux/sched.h index 295666c..64527c4 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -277,7 +277,7 @@ extern void set_cpu_sd_state_idle(void); extern int get_nohz_timer_target(void); #else static inline void select_nohz_load_balancer(int stop_tick) { } -static inline void set_cpu_sd_state_idle(void); +static inline void set_cpu_sd_state_idle(void) { } #endif /*