patch-2.4.22 linux-2.4.22/arch/mips/cobalt/reset.c
Next file: linux-2.4.22/arch/mips/cobalt/setup.c
Previous file: linux-2.4.22/arch/mips/cobalt/promcon.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
2003-08-25 04:44:39.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/mips/cobalt/reset.c
-  Orig date: 
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.21/arch/mips/cobalt/reset.c linux-2.4.22/arch/mips/cobalt/reset.c
@@ -28,10 +28,10 @@
 	 * kernel in the flush locks up somewhen during of after the PCI
 	 * detection stuff.
 	 */
-	set_cp0_status(ST0_BEV | ST0_ERL);
-	change_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
+	set_c0_status(ST0_BEV | ST0_ERL);
+	change_c0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
 	flush_cache_all();
-	write_32bit_cp0_register(CP0_WIRED, 0);
+	write_c0_wired(0);
 	__asm__ __volatile__(
 		"jr\t%0"
 		:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)