File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 23
23
#include <linux/delay.h>
24
24
#include <linux/reboot.h>
25
25
#include <linux/interrupt.h>
26
- #include <linux/kallsyms.h>
27
26
#include <linux/init.h>
28
27
#include <linux/cpu.h>
29
28
#include <linux/elfcore.h>
@@ -139,8 +138,8 @@ void __show_regs(struct pt_regs *regs)
139
138
char buf [64 ];
140
139
141
140
show_regs_print_info (KERN_DEFAULT );
142
- print_symbol ("PC is at %s \n" , instruction_pointer (regs ));
143
- print_symbol ("LR is at %s \n" , regs -> UCreg_lr );
141
+ printk ("PC is at %pS \n" , ( void * ) instruction_pointer (regs ));
142
+ printk ("LR is at %pS \n" , ( void * ) regs -> UCreg_lr );
144
143
printk (KERN_DEFAULT "pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n"
145
144
"sp : %08lx ip : %08lx fp : %08lx\n" ,
146
145
regs -> UCreg_pc , regs -> UCreg_lr , regs -> UCreg_asr ,
You can’t perform that action at this time.
0 commit comments