提交 70ae6126 编写于 作者: C Chris Dearman 提交者: Ralf Baechle

[MIPS] Use KERN_DEBUG to log the SDBBP messages

Signed-off-by: NChris Dearman <chris@mips.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e35a5e35
...@@ -978,10 +978,10 @@ void ejtag_exception_handler(struct pt_regs *regs) ...@@ -978,10 +978,10 @@ void ejtag_exception_handler(struct pt_regs *regs)
unsigned long depc, old_epc; unsigned long depc, old_epc;
unsigned int debug; unsigned int debug;
printk("SDBBP EJTAG debug exception - not handled yet, just ignored!\n"); printk(KERN_DEBUG "SDBBP EJTAG debug exception - not handled yet, just ignored!\n");
depc = read_c0_depc(); depc = read_c0_depc();
debug = read_c0_debug(); debug = read_c0_debug();
printk("c0_depc = %0*lx, DEBUG = %08x\n", field, depc, debug); printk(KERN_DEBUG "c0_depc = %0*lx, DEBUG = %08x\n", field, depc, debug);
if (debug & 0x80000000) { if (debug & 0x80000000) {
/* /*
* In branch delay slot. * In branch delay slot.
...@@ -999,7 +999,7 @@ void ejtag_exception_handler(struct pt_regs *regs) ...@@ -999,7 +999,7 @@ void ejtag_exception_handler(struct pt_regs *regs)
write_c0_depc(depc); write_c0_depc(depc);
#if 0 #if 0
printk("\n\n----- Enable EJTAG single stepping ----\n\n"); printk(KERN_DEBUG "\n\n----- Enable EJTAG single stepping ----\n\n");
write_c0_debug(debug | 0x100); write_c0_debug(debug | 0x100);
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册