diff options
Diffstat (limited to 'include/asm-arm/arch-nexuspci/system.h')
-rw-r--r-- | include/asm-arm/arch-nexuspci/system.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-arm/arch-nexuspci/system.h b/include/asm-arm/arch-nexuspci/system.h index 3ef541df3..0726698e7 100644 --- a/include/asm-arm/arch-nexuspci/system.h +++ b/include/asm-arm/arch-nexuspci/system.h @@ -6,7 +6,12 @@ #ifndef __ASM_ARCH_SYSTEM_H #define __ASM_ARCH_SYSTEM_H -#define arch_do_idle() cpu_do_idle() +extern __inline__ void arch_idle(void) +{ + while (!current->need_resched && !hlt_counter) + cpu_do_idle(IDLE_WAIT_SLOW); +} + #define arch_reset(mode) do { } while (0) #define arch_power_off() do { } while (0) |