diff options
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index c0c0fd5..da4b7a8 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -109,7 +109,7 @@ userret(td, frame, oticks) /* * Do special thread processing, e.g. upcall tweaking and such. */ - if (p->p_flag & P_KSES) { + if (p->p_flag & P_THREADED) { thread_userret(td, frame); } @@ -256,7 +256,7 @@ ast(struct trapframe *framep) sigs++; } PROC_UNLOCK(p); - if (p->p_flag & P_KSES && sigs) + if (p->p_flag & P_THREADED && sigs) thread_signal_upcall(td); } |