Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340362
b: refs/heads/master
c: 4aaefee
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Nov 29, 2012
1 parent 9b3cb73 commit 0b9c5f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94eb22d5056b5eca10c587bf064e0e6db0ae6161
refs/heads/master: 4aaefee589f97bb30062bbeeb793bbbf7107a9a7
5 changes: 3 additions & 2 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,8 +1159,9 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
return __send_signal(sig, info, t, group, from_ancestor_ns);
}

static void print_fatal_signal(struct pt_regs *regs, int signr)
static void print_fatal_signal(int signr)
{
struct pt_regs *regs = signal_pt_regs();
printk("%s/%d: potentially unexpected fatal signal %d.\n",
current->comm, task_pid_nr(current), signr);

Expand Down Expand Up @@ -2349,7 +2350,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,

if (sig_kernel_coredump(signr)) {
if (print_fatal_signals)
print_fatal_signal(regs, info->si_signo);
print_fatal_signal(info->si_signo);
/*
* If it was able to dump core, this kills all
* other threads in the group and synchronizes with
Expand Down

0 comments on commit 0b9c5f9

Please sign in to comment.