diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-03 12:55:31 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-21 00:55:12 +0100 |
commit | 50edbf78f566bcb7749c558129a849c63ae15838 (patch) | |
tree | 26d2d3aacfc8040763d97deb2473946011cbd2c4 /arch/arm/mach-h720x/include | |
parent | ARM: mach-gemini: move special idle code out of line (diff) | |
download | linux-50edbf78f566bcb7749c558129a849c63ae15838.tar.xz linux-50edbf78f566bcb7749c558129a849c63ae15838.zip |
ARM: mach-h720x: move special idle code out of line
... and hook it to arm_pm_idle.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-h720x/include')
-rw-r--r-- | arch/arm/mach-h720x/include/mach/system.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-h720x/include/mach/system.h b/arch/arm/mach-h720x/include/mach/system.h index 16ac46e239aa..008ed164b253 100644 --- a/arch/arm/mach-h720x/include/mach/system.h +++ b/arch/arm/mach-h720x/include/mach/system.h @@ -16,12 +16,7 @@ static void arch_idle(void) { - CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_IDLE; - nop(); - nop(); - CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_RUN; - nop(); - nop(); + cpu_do_idle(); } #endif |