]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cpuidle: Enable cpuidle and directly call cpuidle_idle_call() for pSeries
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>
Wed, 30 Nov 2011 02:46:55 +0000 (02:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 02:57:20 +0000 (13:57 +1100)
commitbc9be8a611853c591f9a54646d14fb27cead4044
treeb41c3685a4ee78782363e374e481b3a90cfc8004
parentbdb4d951f2ad33b57050f6962f6a36eec556b9c0
powerpc/cpuidle: Enable cpuidle and directly call cpuidle_idle_call() for pSeries

This patch enables cpuidle for pSeries and pSeries_idle is
directly called from the idle loop. As a result of pSeries_idle, cpuidle
driver registered with cpuidle subsystem comes into action. On
failure of loading of the driver or cpuidle framework default idle
is executed as part of the function. This patch
also removes the routines pseries_shared_idle_sleep and
pseries_dedicated_idle_sleep as they are now implemented as part of
pseries_idle cpuidle driver.

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com>
Signed-off-by: Arun R Bharadwaj <arun.r.bharadwaj@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/pseries/setup.c
include/linux/cpuidle.h