diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/mach-gemini/idle.c')
-rw-r--r-- | ANDROID_3.4.5/arch/arm/mach-gemini/idle.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/ANDROID_3.4.5/arch/arm/mach-gemini/idle.c b/ANDROID_3.4.5/arch/arm/mach-gemini/idle.c deleted file mode 100644 index 92bbd6bb..00000000 --- a/ANDROID_3.4.5/arch/arm/mach-gemini/idle.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * arch/arm/mach-gemini/idle.c - */ - -#include <linux/init.h> -#include <asm/system.h> -#include <asm/proc-fns.h> - -static void gemini_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 first 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(); -} - -static int __init gemini_idle_init(void) -{ - arm_pm_idle = gemini_idle; - return 0; -} - -arch_initcall(gemini_idle_init); |