patch-2.4.4 linux/include/asm-arm/arch-l7200/system.h

Next file: linux/include/asm-arm/arch-l7200/time.h
Previous file: linux/include/asm-arm/arch-l7200/sys-clock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-arm/arch-l7200/system.h linux/include/asm-arm/arch-l7200/system.h
@@ -14,9 +14,8 @@
 
 static void arch_idle(void)
 {
-        while (!current->need_resched && !hlt_counter) {
-		cpu_do_idle(IDLE_WAIT_SLOW);
-	}
+	/* fixme: this needs to be cleaned up (converted from ASM code) --rmk */
+	*(unsigned long *)(IO_BASE + 0x50004) = 1;	/* idle mode */
 }
 
 extern 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)