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/kernel/mips-mt.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/kernel/mips-mt.c')
-rw-r--r-- | arch/mips/kernel/mips-mt.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c index 640fb0cc6e39..d01665a453f5 100644 --- a/arch/mips/kernel/mips-mt.c +++ b/arch/mips/kernel/mips-mt.c | |||
@@ -4,7 +4,6 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/device.h> | 6 | #include <linux/device.h> |
7 | #include <linux/kallsyms.h> | ||
8 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
9 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
10 | #include <linux/module.h> | 9 | #include <linux/module.h> |
@@ -84,9 +83,9 @@ void mips_mt_regdump(unsigned long mvpctl) | |||
84 | read_vpe_c0_vpeconf0()); | 83 | read_vpe_c0_vpeconf0()); |
85 | printk(" VPE%d.Status : %08lx\n", | 84 | printk(" VPE%d.Status : %08lx\n", |
86 | i, read_vpe_c0_status()); | 85 | i, read_vpe_c0_status()); |
87 | printk(" VPE%d.EPC : %08lx ", | 86 | printk(" VPE%d.EPC : %08lx %pS\n", |
88 | i, read_vpe_c0_epc()); | 87 | i, read_vpe_c0_epc(), |
89 | print_symbol("%s\n", read_vpe_c0_epc()); | 88 | (void *) read_vpe_c0_epc()); |
90 | printk(" VPE%d.Cause : %08lx\n", | 89 | printk(" VPE%d.Cause : %08lx\n", |
91 | i, read_vpe_c0_cause()); | 90 | i, read_vpe_c0_cause()); |
92 | printk(" VPE%d.Config7 : %08lx\n", | 91 | printk(" VPE%d.Config7 : %08lx\n", |
@@ -111,8 +110,8 @@ void mips_mt_regdump(unsigned long mvpctl) | |||
111 | } | 110 | } |
112 | printk(" TCStatus : %08lx\n", tcstatval); | 111 | printk(" TCStatus : %08lx\n", tcstatval); |
113 | printk(" TCBind : %08lx\n", read_tc_c0_tcbind()); | 112 | printk(" TCBind : %08lx\n", read_tc_c0_tcbind()); |
114 | printk(" TCRestart : %08lx ", read_tc_c0_tcrestart()); | 113 | printk(" TCRestart : %08lx %pS\n", |
115 | print_symbol("%s\n", read_tc_c0_tcrestart()); | 114 | read_tc_c0_tcrestart(), (void *) read_tc_c0_tcrestart()); |
116 | printk(" TCHalt : %08lx\n", haltval); | 115 | printk(" TCHalt : %08lx\n", haltval); |
117 | printk(" TCContext : %08lx\n", read_tc_c0_tccontext()); | 116 | printk(" TCContext : %08lx\n", read_tc_c0_tccontext()); |
118 | if (!haltval) | 117 | if (!haltval) |