diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-01-17 10:04:01 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-10 16:17:01 +0100 |
commit | b4f2ab43615e5b36c48fffa99f26aca381839ac6 (patch) | |
tree | 1a26d67fc0357fd18c30ea773148ee32ca76c4cd /kernel/sched/core.c | |
parent | d0ea026808ad81de2af14938448419a95211b938 (diff) | |
download | linux-b4f2ab43615e5b36c48fffa99f26aca381839ac6.tar.bz2 |
sched: Remove 'cpu' parameter from idle_balance()
The cpu parameter passed to idle_balance() is not needed as it could
be retrieved from 'struct rq.'
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: alex.shi@linaro.org
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1389949444-14821-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 104c8164e04f..74dd565c2e1b 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2705,7 +2705,7 @@ need_resched: pre_schedule(rq, prev); if (unlikely(!rq->nr_running)) - idle_balance(cpu, rq); + idle_balance(rq); put_prev_task(rq, prev); next = pick_next_task(rq); |