ARM: mach-gemini: move special idle code out of line
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-gemini / include / mach / system.h
index 4d9c1f872472a8e89abf73e8f1633990598d95ee..2eb341c63c96efc8767aa7c6e0d65291f91afd10 100644 (file)
 
 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();
 }