Skip to content

Commit

Permalink
[MIPS] Use KERN_DEBUG to log the SDBBP messages
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Chris Dearman authored and Ralf Baechle committed Jul 13, 2006
1 parent e35a5e3 commit 70ae612
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,10 +978,10 @@ void ejtag_exception_handler(struct pt_regs *regs)
unsigned long depc, old_epc;
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();
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) {
/*
* In branch delay slot.
Expand All @@ -999,7 +999,7 @@ void ejtag_exception_handler(struct pt_regs *regs)
write_c0_depc(depc);

#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);
#endif
}
Expand Down

0 comments on commit 70ae612

Please sign in to comment.