aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-gemini/include/mach
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/mach
parentARM: mach-ebsa110: move special idle code out of line (diff)
downloadlinux-dev-8925b0f88ec3f6c65418bf5f430a16a827f4c77b.tar.xz
linux-dev-8925b0f88ec3f6c65418bf5f430a16a827f4c77b.zip
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/mach')
-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 @@
static inline void arch_idle(void)
{
- /*
- * Because of broken hardware we have to enable interrupts or the CPU
- * will never wakeup... Acctualy it is not very good to enable
- * interrupts here since scheduler can miss a tick, but there is
- * no other way around this. Platforms that needs it for power saving
- * should call enable_hlt() in init code, since by default it is
- * disabled.
- */
- local_irq_enable();
cpu_do_idle();
}