diff options
-rw-r--r-- | arch/xtensa/kernel/signal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c index efe4e854b3cd..0cbe67a2248a 100644 --- a/arch/xtensa/kernel/signal.c +++ b/arch/xtensa/kernel/signal.c | |||
@@ -527,9 +527,6 @@ static void do_signal(struct pt_regs *regs) | |||
527 | 527 | ||
528 | void do_notify_resume(struct pt_regs *regs) | 528 | void do_notify_resume(struct pt_regs *regs) |
529 | { | 529 | { |
530 | if (!user_mode(regs)) | ||
531 | return; | ||
532 | |||
533 | if (test_thread_flag(TIF_SIGPENDING)) | 530 | if (test_thread_flag(TIF_SIGPENDING)) |
534 | do_signal(regs); | 531 | do_signal(regs); |
535 | 532 | ||