projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe49c1c
)
blackfin: don't open-code force_sigsegv()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Apr 2012 01:32:46 +0000
(21:32 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:58:33 +0000
(23:58 -0400)
... especially since we don't have the right k_sigaction here,
so resetting sa_handler won't work.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/blackfin/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/signal.c
b/arch/blackfin/kernel/signal.c
index 05ece020f8a30962c44c01039f1bd54618856971..e5bbc1a5edc242dae7221168f771bbad704872d3 100644
(file)
--- a/
arch/blackfin/kernel/signal.c
+++ b/
arch/blackfin/kernel/signal.c
@@
-210,9
+210,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;
}