Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306062
b: refs/heads/master
c: 6eef019
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed May 22, 2012
1 parent c854a3f commit b2e7556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 5d71c55bdb020561a9d44c8453ca2a3ca524ea35
refs/heads/master: 6eef019002e61abdc5e4384e4154d73c9f56d2bc
10 changes: 2 additions & 8 deletions trunk/arch/cris/arch-v32/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,7 @@ setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
return 0;

give_sigsegv:
if (sig == SIGSEGV)
ka->sa.sa_handler = SIG_DFL;

force_sig(SIGSEGV, current);
force_sigsegv(sig, current);
return -EFAULT;
}

Expand Down Expand Up @@ -432,10 +429,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
return 0;

give_sigsegv:
if (sig == SIGSEGV)
ka->sa.sa_handler = SIG_DFL;

force_sig(SIGSEGV, current);
force_sigsegv(sig, current);
return -EFAULT;
}

Expand Down

0 comments on commit b2e7556

Please sign in to comment.