summaryrefslogtreecommitdiff
path: root/arch/ia64
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-02 02:37:16 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 17:58:10 +0400
commitcf880248c56495a5e616cde226d7c85972a3218c (patch)
tree28ac7d9da679fd42e5ff0d1247b96288aec304a0 /arch/ia64
parentaf445f45ed64fb0276c0f29bf30d7586e0b8d5f2 (diff)
downloadlinux-cf880248c56495a5e616cde226d7c85972a3218c.tar.xz
ia64: can't reach do_signal() when returning to kernel mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/signal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c
index a199be1fe619..19f89c09d40d 100644
--- 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.
*/