From 3fc9836d46e83fd0a5d0daa46f5639be3db193c1 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 27 Feb 2003 02:05:19 +0000 Subject: Change the process flags P_KSES to be P_THREADED. This is just a cosmetic change but I've been meaning to do it for about a year. --- sys/kern/subr_trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/subr_trap.c') 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); } -- cgit v1.1