2 * arch/arm/mach-gemini/idle.c
5 #include <linux/init.h>
6 #include <asm/system.h>
7 #include <asm/proc-fns.h>
9 static void gemini_idle(void)
12 * Because of broken hardware we have to enable interrupts or the CPU
13 * will never wakeup... Acctualy it is not very good to enable
14 * interrupts first since scheduler can miss a tick, but there is
15 * no other way around this. Platforms that needs it for power saving
16 * should enable it in init code, since by default it is
20 /* FIXME: Enabling interrupts here is racy! */
25 static int __init
gemini_idle_init(void)
27 arm_pm_idle
= gemini_idle
;
31 arch_initcall(gemini_idle_init
);