diff options
-rw-r--r-- | arch/ia64/kernel/signal.c | 8 |
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) | |||
438 | long errno = scr->pt.r8; | 438 | long errno = scr->pt.r8; |
439 | 439 | ||
440 | /* | 440 | /* |
441 | * In the ia64_leave_kernel code path, we want the common case to go fast, which | ||
442 | * is why we may in certain cases get here from kernel mode. Just return without | ||
443 | * doing anything if so. | ||
444 | */ | ||
445 | if (!user_mode(&scr->pt)) | ||
446 | return; | ||
447 | |||
448 | /* | ||
449 | * This only loops in the rare cases of handle_signal() failing, in which case we | 441 | * This only loops in the rare cases of handle_signal() failing, in which case we |
450 | * need to push through a forced SIGSEGV. | 442 | * need to push through a forced SIGSEGV. |
451 | */ | 443 | */ |