patch-2.3.99-pre2 linux/include/asm-arm/arch-ebsa110/system.h
Next file: linux/include/asm-arm/arch-ebsa285/system.h
Previous file: linux/include/asm-arm/arch-cl7500/system.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Mar 18 11:38:04 2000
- Orig file:
v2.3.99-pre1/linux/include/asm-arm/arch-ebsa110/system.h
- Orig date:
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/include/asm-arm/arch-ebsa110/system.h linux/include/asm-arm/arch-ebsa110/system.h
@@ -8,15 +8,6 @@
#define arch_do_idle() cpu_do_idle()
#define arch_power_off() do { } while (0)
-
-extern __inline__ void arch_reset(char mode)
-{
- if (mode == 's') {
- __asm__ volatile(
- "mcr p15, 0, %0, c1, c0, 0 @ MMU off
- mov pc, #0x80000000 @ jump to flash"
- : : "r" (cpu_reset()) : "cc");
- }
-}
+#define arch_reset(mode) cpu_reset(0x80000000)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)