aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2013-03-18 17:23:58 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2013-03-18 17:23:58 +0000
commit3cf3b9f0972e90401cafe8332f94669cbe3e1480 (patch)
treebc3da40472cd5518cd47bfef78827d9214361be6 /sys/kern/subr_trap.c
parent4117c1db9e4732cc9523afe6981160432ee21462 (diff)
downloadsrc-3cf3b9f0972e90401cafe8332f94669cbe3e1480.tar.gz
src-3cf3b9f0972e90401cafe8332f94669cbe3e1480.zip
Partially revert r195702. Deferring stops is now implemented via a set of
calls to toggle TDF_SBDRY rather than passing PBDRY to individual sleep calls. - Remove the stop_allowed parameters from cursig() and issignal(). issignal() checks TDF_SBDRY directly. - Remove the PBDRY and SLEEPQ_STOP_ON_BDRY flags.
Notes
Notes: svn path=/head/; revision=248470
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 11a4bc43bf2e..19729a46356c 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -267,7 +267,7 @@ ast(struct trapframe *framep)
!SIGISEMPTY(p->p_siglist)) {
PROC_LOCK(p);
mtx_lock(&p->p_sigacts->ps_mtx);
- while ((sig = cursig(td, SIG_STOP_ALLOWED)) != 0)
+ while ((sig = cursig(td)) != 0)
postsig(sig);
mtx_unlock(&p->p_sigacts->ps_mtx);
PROC_UNLOCK(p);