patch-2.4.22 linux-2.4.22/include/asm-arm/arch-arc/system.h

Next file: linux-2.4.22/include/asm-arm/arch-at91rm9200/AT91RM9200.h
Previous file: linux-2.4.22/include/asm-arm/arch-arc/memory.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-arm/arch-arc/system.h linux-2.4.22/include/asm-arm/arch-arc/system.h
@@ -8,9 +8,8 @@
  * published by the Free Software Foundation.
  */
 
-static void arch_idle(void)
+static inline void arch_idle(void)
 {
-	while (!current->need_resched && !hlt_counter);
 }
 
 static inline void arch_reset(char mode)

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