diff options
author | Petr Mladek <pmladek@suse.com> | 2018-01-22 10:40:50 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-01-22 10:40:50 +0100 |
commit | 51ccbb0ae865e153c43117e6c3244fa373ea6bd6 (patch) | |
tree | 4bfa54ad5ec0542f24627971d937166960c32723 /arch/unicore32/kernel/process.c | |
parent | 3ccdc5190f8df12dfafff9264e406c5496401da5 (diff) | |
parent | d2279c9d7f7db7f97567368bfc4539b3411adf8d (diff) |
Merge branch 'for-4.16-print-symbol' into for-4.16
Diffstat (limited to 'arch/unicore32/kernel/process.c')
-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 @@ #include <linux/delay.h> #include <linux/reboot.h> #include <linux/interrupt.h> -#include <linux/kallsyms.h> #include <linux/init.h> #include <linux/cpu.h> #include <linux/elfcore.h> @@ -139,8 +138,8 @@ void __show_regs(struct pt_regs *regs) char buf[64]; show_regs_print_info(KERN_DEFAULT); - print_symbol("PC is at %s\n", instruction_pointer(regs)); - print_symbol("LR is at %s\n", regs->UCreg_lr); + printk("PC is at %pS\n", (void *)instruction_pointer(regs)); + printk("LR is at %pS\n", (void *)regs->UCreg_lr); printk(KERN_DEFAULT "pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n" "sp : %08lx ip : %08lx fp : %08lx\n", regs->UCreg_pc, regs->UCreg_lr, regs->UCreg_asr, |