cpuidle: Add common time keeping and irq enabling
authorRobert Lee <[email protected]>
Tue, 20 Mar 2012 20:22:42 +0000 (15:22 -0500)
committerLen Brown <[email protected]>
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 <[email protected]>
Tested-by: Jean Pihet <[email protected]>
Tested-by: Amit Daniel <[email protected]>
Tested-by: Robert Lee <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Reviewed-by: Deepthi Dharwar <[email protected]>
Acked-by: Jean Pihet <[email protected]>
Signed-off-by: Len Brown <[email protected]>
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