diff options
| -rw-r--r-- | arch/unicore32/kernel/process.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c index ddaf78ae6854..2bc10b8e9cf4 100644 --- a/arch/unicore32/kernel/process.c +++ b/arch/unicore32/kernel/process.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
| 24 | #include <linux/reboot.h> | 24 | #include <linux/reboot.h> |
| 25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
| 26 | #include <linux/kallsyms.h> | ||
| 27 | #include <linux/init.h> | 26 | #include <linux/init.h> |
| 28 | #include <linux/cpu.h> | 27 | #include <linux/cpu.h> |
| 29 | #include <linux/elfcore.h> | 28 | #include <linux/elfcore.h> |
| @@ -139,8 +138,8 @@ void __show_regs(struct pt_regs *regs) | |||
| 139 | char buf[64]; | 138 | char buf[64]; |
| 140 | 139 | ||
| 141 | show_regs_print_info(KERN_DEFAULT); | 140 | show_regs_print_info(KERN_DEFAULT); |
| 142 | print_symbol("PC is at %s\n", instruction_pointer(regs)); | 141 | printk("PC is at %pS\n", (void *)instruction_pointer(regs)); |
| 143 | print_symbol("LR is at %s\n", regs->UCreg_lr); | 142 | printk("LR is at %pS\n", (void *)regs->UCreg_lr); |
| 144 | printk(KERN_DEFAULT "pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n" | 143 | printk(KERN_DEFAULT "pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n" |
| 145 | "sp : %08lx ip : %08lx fp : %08lx\n", | 144 | "sp : %08lx ip : %08lx fp : %08lx\n", |
| 146 | regs->UCreg_pc, regs->UCreg_lr, regs->UCreg_asr, | 145 | regs->UCreg_pc, regs->UCreg_lr, regs->UCreg_asr, |
