Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309005
b: refs/heads/master
c: 7dfae72
h: refs/heads/master
i:
  309003: f6a7a76
v: v3
  • Loading branch information
Al Viro committed May 21, 2012
1 parent 131cbad commit c86df37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84849b3ed8081e9e2eb0e441c699eda807853cb6
refs/heads/master: 7dfae72027cd8345247e675a3b27439df95fe06e
14 changes: 6 additions & 8 deletions trunk/arch/arm/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,15 +715,13 @@ static void do_signal(struct pt_regs *regs, int syscall)
#endif
}
}

/* If there's no signal to deliver, we just put the saved sigmask
* back.
*/
if (test_thread_flag(TIF_RESTORE_SIGMASK)) {
clear_thread_flag(TIF_RESTORE_SIGMASK);
sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
}
}

/* If there's no signal to deliver, we just put the saved sigmask
* back.
*/
if (test_and_clear_thread_flag(TIF_RESTORE_SIGMASK))
set_current_blocked(&current->saved_sigmask);
}

asmlinkage void
Expand Down

0 comments on commit c86df37

Please sign in to comment.