summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-06-15 00:31:24 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-06-15 00:31:24 +0000
commitabb4420bbe55ce526dd8d7eb8ac3e1b33969d3fa (patch)
treef1ad1d6af931a255911ca3bbb68ac9677e8e30c0 /sys/ia64
parent11be88d0438fcd4af13ed8006b4e293451dc780c (diff)
downloadFreeBSD-src-abb4420bbe55ce526dd8d7eb8ac3e1b33969d3fa.zip
FreeBSD-src-abb4420bbe55ce526dd8d7eb8ac3e1b33969d3fa.tar.gz
Rename P_THREADED to P_SA. P_SA means a process is using scheduler
activations.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index d22b8ff0..9b57912 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -944,7 +944,7 @@ syscall(struct trapframe *tf)
sticks = td->td_sticks;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);
- if (p->p_flag & P_THREADED)
+ if (p->p_flag & P_SA)
thread_user_enter(p, td);
if (p->p_sysent->sv_prepsyscall) {
OpenPOWER on IntegriCloud