diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-06-15 00:31:24 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-06-15 00:31:24 +0000 |
commit | abb4420bbe55ce526dd8d7eb8ac3e1b33969d3fa (patch) | |
tree | f1ad1d6af931a255911ca3bbb68ac9677e8e30c0 /sys/amd64 | |
parent | 11be88d0438fcd4af13ed8006b4e293451dc780c (diff) | |
download | FreeBSD-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/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/trap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 3e26cfa..8a3226b 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2979,7 +2979,7 @@ pmap_activate(struct thread *td) /* XXXKSE this is wrong. * pmap_activate is for the current thread on the current cpu */ - if (p->p_flag & P_THREADED) { + if (p->p_flag & P_SA) { /* Make sure all other cr3 entries are updated. */ /* what if they are running? XXXKSE (maybe abort them) */ FOREACH_THREAD_IN_PROC(p, td) { diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index c4e7f16..e16f0ec 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -673,7 +673,7 @@ syscall(frame) td->td_frame = &frame; 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); params = (caddr_t)frame.tf_rsp + sizeof(register_t); code = frame.tf_rax; |