summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-29 04:42:43 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 15:58:09 +0200
commit13d112ed32e66742a1795819b76752e8f7166848 (patch)
tree04d4bb48a3c3ca6c783e5496633d653469a5a5f8 /arch/xtensa
parentc6x: switch to generic kernel_thread() (diff)
downloadlinux-13d112ed32e66742a1795819b76752e8f7166848.tar.xz
linux-13d112ed32e66742a1795819b76752e8f7166848.zip
xtensa: can't get to do_notify_resume() when user_mode(regs) is not true
asm glue checks that Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/signal.c3
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)
void do_notify_resume(struct pt_regs *regs)
{
- if (!user_mode(regs))
- return;
-
if (test_thread_flag(TIF_SIGPENDING))
do_signal(regs);