diff options
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index c9a5e2ce8aa9..ae58d3b37d9d 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -225,11 +225,8 @@ void __show_regs(struct pt_regs *regs) | |||
225 | unsigned long flags; | 225 | unsigned long flags; |
226 | char buf[64]; | 226 | char buf[64]; |
227 | 227 | ||
228 | printk("CPU: %d %s (%s %.*s)\n", | 228 | show_regs_print_info(KERN_DEFAULT); |
229 | raw_smp_processor_id(), print_tainted(), | 229 | |
230 | init_utsname()->release, | ||
231 | (int)strcspn(init_utsname()->version, " "), | ||
232 | init_utsname()->version); | ||
233 | print_symbol("PC is at %s\n", instruction_pointer(regs)); | 230 | print_symbol("PC is at %s\n", instruction_pointer(regs)); |
234 | print_symbol("LR is at %s\n", regs->ARM_lr); | 231 | print_symbol("LR is at %s\n", regs->ARM_lr); |
235 | printk("pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n" | 232 | printk("pc : [<%08lx>] lr : [<%08lx>] psr: %08lx\n" |
@@ -284,7 +281,6 @@ void __show_regs(struct pt_regs *regs) | |||
284 | void show_regs(struct pt_regs * regs) | 281 | void show_regs(struct pt_regs * regs) |
285 | { | 282 | { |
286 | printk("\n"); | 283 | printk("\n"); |
287 | printk("Pid: %d, comm: %20s\n", task_pid_nr(current), current->comm); | ||
288 | __show_regs(regs); | 284 | __show_regs(regs); |
289 | dump_stack(); | 285 | dump_stack(); |
290 | } | 286 | } |