]> 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)
commit159084d2f05017877ec599e5b5575ecfc03154d9
treeb41c3685a4ee78782363e374e481b3a90cfc8004
parentaee58fdb1ca2748f0b9725d9b770b0fb5ae3a78d
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