We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67580c9 commit 9e6a42fCopy full SHA for 9e6a42f
arch/sh/kernel/process_32.c
@@ -20,7 +20,6 @@
20
#include <linux/sched/task_stack.h>
21
#include <linux/slab.h>
22
#include <linux/elfcore.h>
23
-#include <linux/kallsyms.h>
24
#include <linux/fs.h>
25
#include <linux/ftrace.h>
26
#include <linux/hw_breakpoint.h>
@@ -37,8 +36,8 @@ void show_regs(struct pt_regs * regs)
37
36
printk("\n");
38
show_regs_print_info(KERN_DEFAULT);
39
40
- print_symbol("PC is at %s\n", instruction_pointer(regs));
41
- print_symbol("PR is at %s\n", regs->pr);
+ printk("PC is at %pS\n", (void *)instruction_pointer(regs));
+ printk("PR is at %pS\n", (void *)regs->pr);
42
43
printk("PC : %08lx SP : %08lx SR : %08lx ",
44
regs->pc, regs->regs[15], regs->sr);
0 commit comments