I THINK this fixes 'make world'

I'll know as soon as I re-import it and compile it.. :-)
 There is no longer a 'pri' strict in the proc struct.
 the fields are scattered between the ksegrp and thread in question.
This commit is contained in:
Julian Elischer 2002-02-13 00:10:04 +00:00
parent 09ffa9ad5e
commit 65e4542fca

View File

@ -328,7 +328,10 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
kp->ki_wchan = mainthread.td_wchan; /* XXXKSE */
kp->ki_traceflag = proc.p_traceflag;
kp->ki_stat = proc.p_stat;
kp->ki_pri = proc.p_ksegrp.kg_pri; /* XXXKSE */
kp->ki_pri.pri_class = proc.p_ksegrp.kg_pri_class; /* XXXKSE */
kp->ki_pri.pri_user = proc.p_ksegrp.kg_user_pri; /* XXXKSE */
kp->ki_pri.pri_level = mainthread.td_priority; /* XXXKSE */
kp->ki_pri.pri_native = mainthread.td_base_pri; /* XXXKSE */
kp->ki_nice = proc.p_ksegrp.kg_nice; /* XXXKSE */
kp->ki_lock = proc.p_lock;
kp->ki_rqindex = proc.p_kse.ke_rqindex; /* XXXKSE */