Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);