x86/boot: Rename overlapping memcpy() to memmove()
[linux/fpc-iii.git] / arch / arm / mach-gemini / idle.c
blobddf8ec9d203bd8fe6bc660db66ba5a1009a6b249
1 /*
2 * arch/arm/mach-gemini/idle.c
3 */
5 #include <linux/init.h>
6 #include <asm/system_misc.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
17 * disabled.
20 /* FIXME: Enabling interrupts here is racy! */
21 local_irq_enable();
22 cpu_do_idle();
25 static int __init gemini_idle_init(void)
27 arm_pm_idle = gemini_idle;
28 return 0;
31 arch_initcall(gemini_idle_init);