aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:33 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:33 -0400
commitb012cffe7f6971e9ba5afca034a3d80e1cf1435c (patch)
treeee4f3a816369ec7ec2eebfc34afcd880e484f170 /arch/mips/kernel/traps.c
parentb29eee4935d9e5952a7ea8543ea499f06fb86808 (diff)
[MIPS] Replace use of print_symbol with new %sP pointer format.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r--arch/mips/kernel/traps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6e7e4a2775f6..b8ea4e9d0d87 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -248,11 +248,11 @@ static void __show_regs(const struct pt_regs *regs)
248 /* 248 /*
249 * Saved cp0 registers 249 * Saved cp0 registers
250 */ 250 */
251 printk("epc : %0*lx ", field, regs->cp0_epc); 251 printk("epc : %0*lx %pS\n", field, regs->cp0_epc,
252 print_symbol("%s ", regs->cp0_epc); 252 (void *) regs->cp0_epc);
253 printk(" %s\n", print_tainted()); 253 printk(" %s\n", print_tainted());
254 printk("ra : %0*lx ", field, regs->regs[31]); 254 printk("ra : %0*lx %pS\n", field, regs->regs[31],
255 print_symbol("%s\n", regs->regs[31]); 255 (void *) regs->regs[31]);
256 256
257 printk("Status: %08x ", (uint32_t) regs->cp0_status); 257 printk("Status: %08x ", (uint32_t) regs->cp0_status);
258 258