diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-03 11:34:59 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-20 18:55:15 -0500 |
commit | 25eb433ab1aaa981cbb43b1d10c0d9377a50e8c9 (patch) | |
tree | 01b9f8dd9ff5605eb2c831f1e4aa81dcab751395 /arch/arm/mach-msm/include | |
parent | 4a3ea24405de36181b6ce074e110ee7efe110297 (diff) |
ARM: mach-msm: hook special idle handlers to arm_pm_idle
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include')
-rw-r--r-- | arch/arm/mach-msm/include/mach/system.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/include/mach/system.h b/arch/arm/mach-msm/include/mach/system.h index 311db2b35da0..f2c049526bc6 100644 --- a/arch/arm/mach-msm/include/mach/system.h +++ b/arch/arm/mach-msm/include/mach/system.h | |||
@@ -12,7 +12,10 @@ | |||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. |
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | void arch_idle(void); | 15 | static inline void arch_idle(void) |
16 | { | ||
17 | cpu_do_idle(); | ||
18 | } | ||
16 | 19 | ||
17 | /* low level hardware reset hook -- for example, hitting the | 20 | /* low level hardware reset hook -- for example, hitting the |
18 | * PSHOLD line on the PMIC to hard reset the system | 21 | * PSHOLD line on the PMIC to hard reset the system |