diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 421d5b6bcdbc..2e3b5d572808 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1159,8 +1159,9 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t, | |||
1159 | return __send_signal(sig, info, t, group, from_ancestor_ns); | 1159 | return __send_signal(sig, info, t, group, from_ancestor_ns); |
1160 | } | 1160 | } |
1161 | 1161 | ||
1162 | static void print_fatal_signal(struct pt_regs *regs, int signr) | 1162 | static void print_fatal_signal(int signr) |
1163 | { | 1163 | { |
1164 | struct pt_regs *regs = signal_pt_regs(); | ||
1164 | printk("%s/%d: potentially unexpected fatal signal %d.\n", | 1165 | printk("%s/%d: potentially unexpected fatal signal %d.\n", |
1165 | current->comm, task_pid_nr(current), signr); | 1166 | current->comm, task_pid_nr(current), signr); |
1166 | 1167 | ||
@@ -2349,7 +2350,7 @@ relock: | |||
2349 | 2350 | ||
2350 | if (sig_kernel_coredump(signr)) { | 2351 | if (sig_kernel_coredump(signr)) { |
2351 | if (print_fatal_signals) | 2352 | if (print_fatal_signals) |
2352 | print_fatal_signal(regs, info->si_signo); | 2353 | print_fatal_signal(info->si_signo); |
2353 | /* | 2354 | /* |
2354 | * If it was able to dump core, this kills all | 2355 | * If it was able to dump core, this kills all |
2355 | * other threads in the group and synchronizes with | 2356 | * other threads in the group and synchronizes with |