diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:33 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:33 -0400 |
commit | b012cffe7f6971e9ba5afca034a3d80e1cf1435c (patch) | |
tree | ee4f3a816369ec7ec2eebfc34afcd880e484f170 /arch/mips/sgi-ip27/ip27-nmi.c | |
parent | b29eee4935d9e5952a7ea8543ea499f06fb86808 (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/sgi-ip27/ip27-nmi.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-nmi.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/mips/sgi-ip27/ip27-nmi.c b/arch/mips/sgi-ip27/ip27-nmi.c index b0a25e1ee8b7..64459e7d891b 100644 --- a/arch/mips/sgi-ip27/ip27-nmi.c +++ b/arch/mips/sgi-ip27/ip27-nmi.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <linux/kallsyms.h> | ||
2 | #include <linux/kernel.h> | 1 | #include <linux/kernel.h> |
3 | #include <linux/mmzone.h> | 2 | #include <linux/mmzone.h> |
4 | #include <linux/nodemask.h> | 3 | #include <linux/nodemask.h> |
@@ -84,13 +83,10 @@ void nmi_cpu_eframe_save(nasid_t nasid, int slice) | |||
84 | /* | 83 | /* |
85 | * Saved cp0 registers | 84 | * Saved cp0 registers |
86 | */ | 85 | */ |
87 | printk("epc : %016lx ", nr->epc); | 86 | printk("epc : %016lx %pS\n", nr->epc, (void *) nr->epc); |
88 | print_symbol("%s ", nr->epc); | ||
89 | printk("%s\n", print_tainted()); | 87 | printk("%s\n", print_tainted()); |
90 | printk("ErrEPC: %016lx ", nr->error_epc); | 88 | printk("ErrEPC: %016lx %pS\n", nr->error_epc, (void *) nr->error_epc); |
91 | print_symbol("%s\n", nr->error_epc); | 89 | printk("ra : %016lx %pS\n", nr->gpr[31], (void *) nr->gpr[31]); |
92 | printk("ra : %016lx ", nr->gpr[31]); | ||
93 | print_symbol("%s\n", nr->gpr[31]); | ||
94 | printk("Status: %08lx ", nr->sr); | 90 | printk("Status: %08lx ", nr->sr); |
95 | 91 | ||
96 | if (nr->sr & ST0_KX) | 92 | if (nr->sr & ST0_KX) |