]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c8cdad42d28a0dfa57fe061129bc6c4981b7d6c
tree19619c24579875e344af337c86c6a604425627b5
parent9252ed1da912150b3ace334256782202ed39f297
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