Skip to contentSkip to conversation

sched: Fix compile error for UP,!NOHZ

tip:sched/core tip-bot for Peter Zijlstra 1 participant 1 message Dec 6, 2011 Scheduler

lore
Share & tools
lore
#0 lore raw
Commit-ID:  fdaabd800bdd60652a448994eeb77442180db6c0
Gitweb:     http://git.kernel.org/tip/fdaabd800bdd60652a448994eeb77442180db6c0
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Tue, 6 Dec 2011 12:47:55 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 6 Dec 2011 20:51:18 +0100

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.

---
 include/linux/sched.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/sched.h +1 -1
index 295666c..64527c4 100644
@@ -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
 
 /*