]> 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)
commit4d83022c0e6821b136e75756f21b390931a3e439
tree19619c24579875e344af337c86c6a604425627b5
parent2afaf64993c6053d4756b7092f0315ef2f64227b
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