Skip to content

Commit

Permalink
xtensa: can't get to do_notify_resume() when user_mode(regs) is not true
Browse files Browse the repository at this point in the history
asm glue checks that

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Oct 1, 2012
1 parent 5687580 commit 13d112e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/xtensa/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 13d112e

Please sign in to comment.