sched: Reduce nohz_kick_needed() parameters
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 6 Jan 2014 11:34:39 +0000 (12:34 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 13 Jan 2014 12:47:27 +0000 (13:47 +0100)
commit4a725627f21df6b280a19f50bc849daaab3b1544
tree196b776b9d62d5b572a3860397ad8fd00ffe23f0
parent7caff66f361c44d0fbc74ed1cfa60a357fc84cf2
sched: Reduce nohz_kick_needed() parameters

The cpu information is already stored in the struct rq, so no need to pass it
as parameter to the nohz_kick_needed function.

The caller of this function just called idle_cpu() before to fill the
rq->idle_balance field.

Use rq->cpu and rq->idle_balance.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1389008085-9069-3-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c