projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eef019
)
score: don't open-code force_sigsegv()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Apr 2012 01:39:54 +0000
(21:39 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:59:19 +0000
(23:59 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/score/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/score/kernel/signal.c
b/arch/score/kernel/signal.c
index
c3fded7
..
a087ad8
100644
(file)
--- a/
arch/score/kernel/signal.c
+++ b/
arch/score/kernel/signal.c
@@
-236,9
+236,7
@@
static int setup_rt_frame(struct k_sigaction *ka, struct pt_regs *regs,
return 0;
give_sigsegv:
- if (signr == SIGSEGV)
- ka->sa.sa_handler = SIG_DFL;
- force_sig(SIGSEGV, current);
+ force_sigsegv(signr, current);
return -EFAULT;
}