cpuidle/idle: Move the cpuidle_idle_call function to idle.c
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 3 Mar 2014 07:48:51 +0000 (08:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Mar 2014 10:52:45 +0000 (11:52 +0100)
commit30cdd69e2a266505ca8229c944d361ff350a6959
treed92aad45235d3855429050a1acfb08e588704d34
parent907e30f1bb4a9656d351aa705c1e5931da908701
cpuidle/idle: Move the cpuidle_idle_call function to idle.c

The cpuidle_idle_call does nothing more than calling the three individuals
function and is no longer used by any arch specific code but only in the
cpuidle framework code.

We can move this function into the idle task code to ensure better
proximity to the scheduler code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: rjw@rjwysocki.net
Cc: preeti@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1393832934-11625-2-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/cpuidle/cpuidle.c
include/linux/cpuidle.h
kernel/sched/idle.c