mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
P_THREADED was renamed to P_SA, follow up.
This commit is contained in:
parent
b83977f0a4
commit
d8406ada91
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116375
|
@ -126,7 +126,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
|||
TAILQ_FIRST(&proc.p_threads));
|
||||
return (-1);
|
||||
}
|
||||
if (proc.p_flag & P_THREADED == 0) {
|
||||
if (proc.p_flag & P_SA == 0) {
|
||||
if (KREAD(kd,
|
||||
(u_long)TAILQ_FIRST(&proc.p_ksegrps),
|
||||
&mkg)) {
|
||||
|
@ -366,7 +366,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
|||
kp->ki_wchan = mtd.td_wchan;
|
||||
kp->ki_oncpu = mtd.td_oncpu;
|
||||
|
||||
if (!(proc.p_flag & P_THREADED)) {
|
||||
if (!(proc.p_flag & P_SA)) {
|
||||
/* stuff from the ksegrp */
|
||||
kp->ki_slptime = mkg.kg_slptime;
|
||||
kp->ki_pri.pri_class = mkg.kg_pri_class;
|
||||
|
|
Loading…
Reference in a new issue