projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d71c55
)
cris: don't open-code force_sigsegv()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Apr 2012 01:35:56 +0000
(21:35 -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/cris/arch-v32/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/cris/arch-v32/kernel/signal.c
b/arch/cris/arch-v32/kernel/signal.c
index
5590578
..
a45efc7
100644
(file)
--- a/
arch/cris/arch-v32/kernel/signal.c
+++ b/
arch/cris/arch-v32/kernel/signal.c
@@
-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;
}
@@
-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;
}