Commit 13d112ed authored by Al Viro's avatar Al Viro

xtensa: can't get to do_notify_resume() when user_mode(regs) is not true

asm glue checks that
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5687580b
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment