cpuidle: Add common time keeping and irq enabling
authorRobert Lee <rob.lee@linaro.org>
Tue, 20 Mar 2012 20:22:42 +0000 (15:22 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 21 Mar 2012 05:59:40 +0000 (01:59 -0400)
commite1689795a784a7c41ac4cf9032794986b095a133
tree19619c24579875e344af337c86c6a604425627b5
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
cpuidle: Add common time keeping and irq enabling

Make necessary changes to implement time keeping and irq enabling
in the core cpuidle code.  This will allow the removal of these
functionalities from various platform cpuidle implementations whose
timekeeping and irq enabling follows the form in this common code.

Signed-off-by: Robert Lee <rob.lee@linaro.org>
Tested-by: Jean Pihet <j-pihet@ti.com>
Tested-by: Amit Daniel <amit.kachhap@linaro.org>
Tested-by: Robert Lee <rob.lee@linaro.org>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/arm/include/asm/cpuidle.h [new file with mode: 0644]
arch/arm/kernel/Makefile
arch/arm/kernel/cpuidle.c [new file with mode: 0644]
drivers/cpuidle/cpuidle.c
include/linux/cpuidle.h