diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-03 06:29:42 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-20 18:55:12 -0500 |
commit | 8925b0f88ec3f6c65418bf5f430a16a827f4c77b (patch) | |
tree | 0d096288b5311dc228a13e7c288b78bb865229db /arch/arm/mach-gemini/include | |
parent | 1b7f72fc395d3d2b498fee5ecfb9e46497f55cdd (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.h | 9 |
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 4d9c1f87247..2eb341c63c9 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(); } |