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

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

diff -urN linux-2.4.21/include/asm-arm/arch-sa1100/system.h linux-2.4.22/include/asm-arm/arch-sa1100/system.h
@@ -8,13 +8,7 @@
 
 static inline void arch_idle(void)
 {
-	if (!hlt_counter) {
-		int flags;
-		local_irq_save(flags);
-		if (!current->need_resched)
-			cpu_do_idle(0);
-		local_irq_restore(flags);
-	}
+	cpu_do_idle();
 }
 
 #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)