diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-02 12:22:48 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-20 18:55:10 -0500 |
commit | 71e256c54d67f55536bae184bb579c682714a95a (patch) | |
tree | be8a4833c202a3b5597aebd8dd82073832c2c239 /arch/arm/mach-clps711x/include | |
parent | c9dfafbaca0b66a6665242d019b3b9c5be056fcf (diff) |
ARM: mach-clps711x: 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-clps711x/include')
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/system.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-clps711x/include/mach/system.h b/arch/arm/mach-clps711x/include/mach/system.h index 23d6ef8c84da..0e74e1e9cc24 100644 --- a/arch/arm/mach-clps711x/include/mach/system.h +++ b/arch/arm/mach-clps711x/include/mach/system.h | |||
@@ -26,10 +26,7 @@ | |||
26 | 26 | ||
27 | static inline void arch_idle(void) | 27 | static inline void arch_idle(void) |
28 | { | 28 | { |
29 | clps_writel(1, HALT); | 29 | cpu_do_idle(); |
30 | __asm__ __volatile__( | ||
31 | "mov r0, r0\n\ | ||
32 | mov r0, r0"); | ||
33 | } | 30 | } |
34 | 31 | ||
35 | #endif | 32 | #endif |