diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-02-12 18:47:29 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-02-22 00:43:18 +0400 |
commit | dc87734106bb6e97c92d8bd81f261fb71976ec2c (patch) | |
tree | 42df15a40c0c96470f70b2582383aa00d2bb60c9 /kernel/sched/sched.h | |
parent | 3f1d2a318171bf61850d4e5a72031271e5aada76 (diff) | |
download | linux-dc87734106bb6e97c92d8bd81f261fb71976ec2c.tar.xz |
sched: Remove some #ifdeffery
Remove a few gratuitous #ifdefs in pick_next_task*().
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-nnzddp5c4fijyzzxxrwlxghf@git.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index d276147ba5e4..caf4abda45e3 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1172,6 +1172,11 @@ extern void trigger_load_balance(struct rq *rq); extern void idle_enter_fair(struct rq *this_rq); extern void idle_exit_fair(struct rq *this_rq); +#else + +static inline void idle_enter_fair(struct rq *rq) { } +static inline void idle_exit_fair(struct rq *rq) { } + #endif extern void sysrq_sched_debug_show(void); |