diff options
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r-- | arch/sparc64/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c index 34573a55b6e5..e9c7e4f07abf 100644 --- a/arch/sparc64/kernel/traps.c +++ b/arch/sparc64/kernel/traps.c | |||
@@ -2225,7 +2225,7 @@ void die_if_kernel(char *str, struct pt_regs *regs) | |||
2225 | " /_| \\__/ |_\\\n" | 2225 | " /_| \\__/ |_\\\n" |
2226 | " \\__U_/\n"); | 2226 | " \\__U_/\n"); |
2227 | 2227 | ||
2228 | printk("%s(%d): %s [#%d]\n", current->comm, current->pid, str, ++die_counter); | 2228 | printk("%s(%d): %s [#%d]\n", current->comm, task_pid_nr(current), str, ++die_counter); |
2229 | notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV); | 2229 | notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV); |
2230 | __asm__ __volatile__("flushw"); | 2230 | __asm__ __volatile__("flushw"); |
2231 | __show_regs(regs); | 2231 | __show_regs(regs); |