patch-2.4.22 linux-2.4.22/arch/mips/ddb5xxx/ddb5477/debug.c

Next file: linux-2.4.22/arch/mips/ddb5xxx/ddb5477/int-handler.S
Previous file: linux-2.4.22/arch/mips/ddb5xxx/ddb5477/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/ddb5xxx/ddb5477/debug.c linux-2.4.22/arch/mips/ddb5xxx/ddb5477/debug.c
@@ -56,8 +56,8 @@
 void vrc5477_show_int_regs()
 {
 	jsun_show_regs("interrupt registers", int_regs);
-	printk("CPU CAUSE = %08x\n", read_32bit_cp0_register(CP0_CAUSE));
-	printk("CPU STATUS = %08x\n", read_32bit_cp0_register(CP0_STATUS));
+	printk("CPU CAUSE = %08x\n", read_c0_cause());
+	printk("CPU STATUS = %08x\n", read_c0_status());
 }
 static Register pdar_regs[] = {
         {"DDB_SDRAM0", DDB_BASE + DDB_SDRAM0},

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)