From: Peter Zijlstra Date: Tue, 6 Dec 2011 11:47:55 +0000 (+0100) Subject: sched: Fix compile error for UP,!NOHZ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdaabd800bdd60652a448994eeb77442180db6c0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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); 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 /*