diff options
Diffstat (limited to 'arch/sh/kernel/process.c')
-rw-r--r-- | arch/sh/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c index b4469992d6b2..6d7f2b07e491 100644 --- a/arch/sh/kernel/process.c +++ b/arch/sh/kernel/process.c | |||
@@ -121,7 +121,7 @@ void machine_power_off(void) | |||
121 | void show_regs(struct pt_regs * regs) | 121 | void show_regs(struct pt_regs * regs) |
122 | { | 122 | { |
123 | printk("\n"); | 123 | printk("\n"); |
124 | printk("Pid : %d, Comm: %20s\n", current->pid, current->comm); | 124 | printk("Pid : %d, Comm: %20s\n", task_pid_nr(current), current->comm); |
125 | print_symbol("PC is at %s\n", instruction_pointer(regs)); | 125 | print_symbol("PC is at %s\n", instruction_pointer(regs)); |
126 | printk("PC : %08lx SP : %08lx SR : %08lx ", | 126 | printk("PC : %08lx SP : %08lx SR : %08lx ", |
127 | regs->pc, regs->regs[15], regs->sr); | 127 | regs->pc, regs->regs[15], regs->sr); |