summaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2014-01-06 11:34:44 (GMT)
committerIngo Molnar <mingo@kernel.org>2014-01-13 12:47:33 (GMT)
commit208cb16ba325552a3935bfc002e34561b0d512d7 (patch)
treef63db35ffd106421c446ea20bb14d454703c22b1 /kernel/sched/sched.h
parentf7ed0a895ead0f093f59898ff9cf4e20768a5f09 (diff)
downloadlinux-208cb16ba325552a3935bfc002e34561b0d512d7.tar.xz
sched: Pass 'struct rq' to nohz_idle_balance()
The cpu information is stored in the struct rq. Pass the struct rq to nohz_idle_balance, so all the functions called in run_rebalance_domains have the same parameters and the 'this_cpu' variable becomes pointless. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> [ Added !SMP build fix. ] Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1389008085-9069-8-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions