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:
parent
5687580bcb
commit
13d112ed32
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue