]> git.karo-electronics.de Git - linux-beck.git/commit
sched/fair: Remove 'cpu_busy' parameter from update_next_balance()
authorLeo Yan <leo.yan@linaro.org>
Fri, 5 Aug 2016 06:31:29 +0000 (14:31 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Aug 2016 12:03:32 +0000 (14:03 +0200)
commit31851a9874d63dbb532910a86b2be49c15997ea3
treeb05085e701fa21259889bb5ea4090118e8bf5638
parentc0c8c9fa210c9a042060435f17e40ba4a76d6d6f
sched/fair: Remove 'cpu_busy' parameter from update_next_balance()

The update_next_balance() function is only used by idle balancing, so its
'cpu_busy' parameter is always 0.

Open code it instead of passing it around.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1470378689-14892-1-git-send-email-leo.yan@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c