patch-2.4.22 linux-2.4.22/include/asm-arm/arch-cl7500/system.h
Next file: linux-2.4.22/include/asm-arm/arch-clps711x/hardware.h
Previous file: linux-2.4.22/include/asm-arm/arch-cl7500/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-cl7500/system.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-arm/arch-cl7500/system.h linux-2.4.22/include/asm-arm/arch-cl7500/system.h
@@ -8,10 +8,9 @@
#include <asm/hardware/iomd.h>
-static void arch_idle(void)
+static inline void arch_idle(void)
{
- while (!current->need_resched && !hlt_counter)
- iomd_writeb(0, IOMD_SUSMODE);
+ iomd_writeb(0, IOMD_SUSMODE);
}
#define arch_reset(mode) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)