From 13d112ed32e66742a1795819b76752e8f7166848 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 28 Apr 2012 22:42:43 -0400 Subject: [PATCH] xtensa: can't get to do_notify_resume() when user_mode(regs) is not true asm glue checks that Signed-off-by: Al Viro --- arch/xtensa/kernel/signal.c | 3 --- 1 file changed, 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) void do_notify_resume(struct pt_regs *regs) { - if (!user_mode(regs)) - return; - if (test_thread_flag(TIF_SIGPENDING)) do_signal(regs); -- GitLab