P_THREADED was renamed to P_SA, follow up.

This commit is contained in:
David Xu 2003-06-15 03:42:04 +00:00
parent b83977f0a4
commit d8406ada91

View File

@ -126,7 +126,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
TAILQ_FIRST(&proc.p_threads)); TAILQ_FIRST(&proc.p_threads));
return (-1); return (-1);
} }
if (proc.p_flag & P_THREADED == 0) { if (proc.p_flag & P_SA == 0) {
if (KREAD(kd, if (KREAD(kd,
(u_long)TAILQ_FIRST(&proc.p_ksegrps), (u_long)TAILQ_FIRST(&proc.p_ksegrps),
&mkg)) { &mkg)) {
@ -366,7 +366,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
kp->ki_wchan = mtd.td_wchan; kp->ki_wchan = mtd.td_wchan;
kp->ki_oncpu = mtd.td_oncpu; kp->ki_oncpu = mtd.td_oncpu;
if (!(proc.p_flag & P_THREADED)) { if (!(proc.p_flag & P_SA)) {
/* stuff from the ksegrp */ /* stuff from the ksegrp */
kp->ki_slptime = mkg.kg_slptime; kp->ki_slptime = mkg.kg_slptime;
kp->ki_pri.pri_class = mkg.kg_pri_class; kp->ki_pri.pri_class = mkg.kg_pri_class;