Skip to content

Commit fdaabd8

Browse files
Peter ZijlstraIngo Molnar
authored andcommitted
sched: Fix compile error for UP,!NOHZ
Commit 69e1e81 ("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>
1 parent 44252e4 commit fdaabd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/sched.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ extern void set_cpu_sd_state_idle(void);
277277
extern int get_nohz_timer_target(void);
278278
#else
279279
static inline void select_nohz_load_balancer(int stop_tick) { }
280-
static inline void set_cpu_sd_state_idle(void);
280+
static inline void set_cpu_sd_state_idle(void) { }
281281
#endif
282282

283283
/*

0 commit comments

Comments
 (0)