aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/kernel/process_32.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c
index 3326a45749d9..7326313bcfdb 100644
--- a/arch/sh/kernel/process_32.c
+++ b/arch/sh/kernel/process_32.c
@@ -111,15 +111,21 @@ void show_regs(struct pt_regs * regs)
111{ 111{
112 printk("\n"); 112 printk("\n");
113 printk("Pid : %d, Comm: %20s\n", task_pid_nr(current), current->comm); 113 printk("Pid : %d, Comm: %20s\n", task_pid_nr(current), current->comm);
114 printk("CPU : %d %s (%s %.*s)\n",
115 smp_processor_id(), print_tainted(), init_utsname()->release,
116 (int)strcspn(init_utsname()->version, " "),
117 init_utsname()->version);
118
114 print_symbol("PC is at %s\n", instruction_pointer(regs)); 119 print_symbol("PC is at %s\n", instruction_pointer(regs));
120 print_symbol("PR is at %s\n", regs->pr);
121
115 printk("PC : %08lx SP : %08lx SR : %08lx ", 122 printk("PC : %08lx SP : %08lx SR : %08lx ",
116 regs->pc, regs->regs[15], regs->sr); 123 regs->pc, regs->regs[15], regs->sr);
117#ifdef CONFIG_MMU 124#ifdef CONFIG_MMU
118 printk("TEA : %08x ", ctrl_inl(MMU_TEA)); 125 printk("TEA : %08x\n", ctrl_inl(MMU_TEA));
119#else 126#else
120 printk(" "); 127 printk("\n");
121#endif 128#endif
122 printk("%s\n", print_tainted());
123 129
124 printk("R0 : %08lx R1 : %08lx R2 : %08lx R3 : %08lx\n", 130 printk("R0 : %08lx R1 : %08lx R2 : %08lx R3 : %08lx\n",
125 regs->regs[0],regs->regs[1], 131 regs->regs[0],regs->regs[1],