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>
This commit is contained in:
Al Viro 2012-04-28 22:42:43 -04:00
parent 5687580bcb
commit 13d112ed32

View file

@ -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);