diff options
Diffstat (limited to 'include/asm-arm/arch-sa1100/system.h')
-rw-r--r-- | include/asm-arm/arch-sa1100/system.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-arm/arch-sa1100/system.h b/include/asm-arm/arch-sa1100/system.h index 5f0febaaa..ca8e6330a 100644 --- a/include/asm-arm/arch-sa1100/system.h +++ b/include/asm-arm/arch-sa1100/system.h @@ -5,13 +5,10 @@ */ #include <linux/config.h> -static void arch_idle(void) +static inline void arch_idle(void) { - while (!current->need_resched && !hlt_counter) { - cpu_do_idle(IDLE_CLOCK_SLOW); - cpu_do_idle(IDLE_WAIT_FAST); - cpu_do_idle(IDLE_CLOCK_FAST); - } + while (!current->need_resched && !hlt_counter) + cpu_do_idle(0); } #ifdef CONFIG_SA1100_VICTOR |