aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2006-06-30 07:32:37 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 16:25:57 -0400
commit70ae6126090686b2e957f0abd2a3c882e94c7071 (patch)
tree6fc74f25154cafe6a91e475e71632de2a00b20bf /arch
parente35a5e35e0f45209a45ec2fd6df90f5ac3a05992 (diff)
[MIPS] Use KERN_DEBUG to log the SDBBP messages
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/traps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 7cbcbd9a9540..e262fb8330f4 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -978,10 +978,10 @@ void ejtag_exception_handler(struct pt_regs *regs)
978 unsigned long depc, old_epc; 978 unsigned long depc, old_epc;
979 unsigned int debug; 979 unsigned int debug;
980 980
981 printk("SDBBP EJTAG debug exception - not handled yet, just ignored!\n"); 981 printk(KERN_DEBUG "SDBBP EJTAG debug exception - not handled yet, just ignored!\n");
982 depc = read_c0_depc(); 982 depc = read_c0_depc();
983 debug = read_c0_debug(); 983 debug = read_c0_debug();
984 printk("c0_depc = %0*lx, DEBUG = %08x\n", field, depc, debug); 984 printk(KERN_DEBUG "c0_depc = %0*lx, DEBUG = %08x\n", field, depc, debug);
985 if (debug & 0x80000000) { 985 if (debug & 0x80000000) {
986 /* 986 /*
987 * In branch delay slot. 987 * In branch delay slot.
@@ -999,7 +999,7 @@ void ejtag_exception_handler(struct pt_regs *regs)
999 write_c0_depc(depc); 999 write_c0_depc(depc);
1000 1000
1001#if 0 1001#if 0
1002 printk("\n\n----- Enable EJTAG single stepping ----\n\n"); 1002 printk(KERN_DEBUG "\n\n----- Enable EJTAG single stepping ----\n\n");
1003 write_c0_debug(debug | 0x100); 1003 write_c0_debug(debug | 0x100);
1004#endif 1004#endif
1005} 1005}