patch-2.2.0-pre6 linux/include/asm-arm/arch-arc/system.h

Next file: linux/include/asm-arm/arch-ebsa110/a.out.h
Previous file: linux/include/asm-arm/arch-arc/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/include/asm-arm/arch-arc/system.h linux/include/asm-arm/arch-arc/system.h
@@ -23,25 +23,25 @@
 
 #endif
 
-extern __inline__ void arch_hard_reset (void)
+extern __inline__ void arch_reset(char mode)
 {
-	extern void ecard_reset (int card);
+	extern void ecard_reset(int card);
+
+	/*
+	 * Do any cleanups that the processor may require
+	 */
+	processor._proc_fin();
 
 	/*
 	 * Reset all expansion cards.
 	 */
-	ecard_reset (-1);
+	ecard_reset(-1);
 
 	/*
 	 * copy branch instruction to reset location and call it
 	 */
 	*(unsigned long *)0 = *(unsigned long *)0x03800000;
 	((void(*)(void))0)();
-
-	/*
-	 * If that didn't work, loop endlessly
-	 */
-	while (1);
 }
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov