OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af445f4
)
ia64: can't reach do_signal() when returning to kernel mode
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 1 May 2012 22:37:16 +0000
(18:37 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 13:58:10 +0000
(09:58 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/ia64/kernel/signal.c
b/arch/ia64/kernel/signal.c
index
a199be1
..
19f89c0
100644
(file)
--- a/
arch/ia64/kernel/signal.c
+++ b/
arch/ia64/kernel/signal.c
@@
-438,14
+438,6
@@
ia64_do_signal (struct sigscratch *scr, long in_syscall)
long errno = scr->pt.r8;
/*
- * In the ia64_leave_kernel code path, we want the common case to go fast, which
- * is why we may in certain cases get here from kernel mode. Just return without
- * doing anything if so.
- */
- if (!user_mode(&scr->pt))
- return;
-
- /*
* This only loops in the rare cases of handle_signal() failing, in which case we
* need to push through a forced SIGSEGV.
*/