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/compat/svr4/svr4_sysvec.c | |
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/compat/svr4/svr4_sysvec.c')
-rw-r--r-- | sys/compat/svr4/svr4_sysvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c index 9b4588c..125f460 100644 --- a/sys/compat/svr4/svr4_sysvec.c +++ b/sys/compat/svr4/svr4_sysvec.c @@ -210,7 +210,7 @@ svr4_fixup(register_t **stack_base, struct image_params *imgp) register_t *pos; KASSERT(curthread->td_proc == imgp->proc && - (curthread->td_proc->p_flag & P_THREADED) == 0, + (curthread->td_proc->p_flag & P_SA) == 0, ("unsafe svr4_fixup(), should be curproc")); args = (Elf32_Auxargs *)imgp->auxargs; pos = *stack_base + (imgp->argc + imgp->envc + 2); |