patch-2.4.0-test9 linux/include/asm-arm/arch-sa1100/system.h

Next file: linux/include/asm-arm/arch-sa1100/thinclient.h
Previous file: linux/include/asm-arm/arch-sa1100/mmzone.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-arm/arch-sa1100/system.h linux/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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)