summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
committerjulian <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
commit3fc9836d46e83fd0a5d0daa46f5639be3db193c1 (patch)
tree91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/kern/subr_trap.c
parentef32e2b20964fad2388f8146483b4dc4bc569c2f (diff)
downloadFreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.zip
FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.tar.gz
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.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c4
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);
}
OpenPOWER on IntegriCloud