patch-2.3.99-pre4 linux/include/asm-arm/arch-cl7500/system.h
Next file: linux/include/asm-arm/arch-cl7500/vmalloc.h
Previous file: linux/include/asm-arm/arch-arc/system.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Mar 27 10:46:29 2000
- Orig file:
v2.3.99-pre3/linux/include/asm-arm/arch-cl7500/system.h
- Orig date:
Sun Mar 19 18:35:31 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/include/asm-arm/arch-cl7500/system.h linux/include/asm-arm/arch-cl7500/system.h
@@ -8,8 +8,11 @@
#include <asm/iomd.h>
-#define arch_do_idle() \
- outb(0, IOMD_SUSMODE)
+extern __inline__ void arch_idle(void)
+{
+ while (!current->need_resched && !hlt_counter)
+ outb(0, IOMD_SUSMODE);
+}
#define arch_reset(mode) \
do { \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)