patch-2.4.22 linux-2.4.22/include/asm-arm/arch-nexuspci/system.h
Next file: linux-2.4.22/include/asm-arm/arch-omaha/bits.h
Previous file: linux-2.4.22/include/asm-arm/arch-nexuspci/memory.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
2003-08-25 04:44:43.000000000 -0700
-  Orig file: 
linux-2.4.21/include/asm-arm/arch-nexuspci/system.h
-  Orig date: 
2000-09-18 15:15:23.000000000 -0700
diff -urN linux-2.4.21/include/asm-arm/arch-nexuspci/system.h linux-2.4.22/include/asm-arm/arch-nexuspci/system.h
@@ -14,10 +14,9 @@
 #ifndef __ASM_ARCH_SYSTEM_H
 #define __ASM_ARCH_SYSTEM_H
 
-static void arch_idle(void)
+static inline void arch_idle(void)
 {
-	while (!current->need_resched && !hlt_counter)
-		cpu_do_idle(IDLE_WAIT_SLOW);
+	cpu_do_idle();
 }
 
 #define arch_reset(mode)	do { } while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)