patch-2.3.99-pre2 linux/include/asm-arm/arch-cl7500/system.h
Next file: linux/include/asm-arm/arch-ebsa110/system.h
Previous file: linux/include/asm-alpha/vga.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sat Mar 18 11:38:04 2000
- Orig file:
v2.3.99-pre1/linux/include/asm-arm/arch-cl7500/system.h
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/include/asm-arm/arch-cl7500/system.h linux/include/asm-arm/arch-cl7500/system.h
@@ -8,18 +8,14 @@
#include <asm/iomd.h>
-#define arch_do_idle() \
+#define arch_do_idle() \
outb(0, IOMD_SUSMODE)
-#define arch_reset(mode) { \
- outb (0, IOMD_ROMCR0); \
- cli(); \
- __asm__ __volatile__("msr spsr, r1;" \
- "mcr p15, 0, %0, c1, c0, 0;" \
- "movs pc, #0" \
- : \
- : "r" (cpu_reset())); \
- }
+#define arch_reset(mode) \
+ do { \
+ outb (0, IOMD_ROMCR0); \
+ cpu_reset(0); \
+ } while (0);
#define arch_power_off() do { } while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)