aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-gemini/include
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-08-03 06:29:42 -0400
committerNicolas Pitre <nico@fluxnic.net>2012-01-20 18:55:12 -0500
commit8925b0f88ec3f6c65418bf5f430a16a827f4c77b (patch)
tree0d096288b5311dc228a13e7c288b78bb865229db /arch/arm/mach-gemini/include
parent1b7f72fc395d3d2b498fee5ecfb9e46497f55cdd (diff)
ARM: mach-gemini: 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-gemini/include')
-rw-r--r--arch/arm/mach-gemini/include/mach/system.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-gemini/include/mach/system.h b/arch/arm/mach-gemini/include/mach/system.h
index 4d9c1f872472..2eb341c63c96 100644
--- a/arch/arm/mach-gemini/include/mach/system.h
+++ b/arch/arm/mach-gemini/include/mach/system.h
@@ -16,15 +16,6 @@
16 16
17static inline void arch_idle(void) 17static inline void arch_idle(void)
18{ 18{
19 /*
20 * Because of broken hardware we have to enable interrupts or the CPU
21 * will never wakeup... Acctualy it is not very good to enable
22 * interrupts here since scheduler can miss a tick, but there is
23 * no other way around this. Platforms that needs it for power saving
24 * should call enable_hlt() in init code, since by default it is
25 * disabled.
26 */
27 local_irq_enable();
28 cpu_do_idle(); 19 cpu_do_idle();
29} 20}
30 21