fix typo in runz_fuzz
noticed by:Elijah Buck
This commit is contained in:
parent
fff0ededf8
commit
681e40627d
@ -394,7 +394,7 @@ runq_choose_fuzz(struct runq *rq, int fuzz)
|
|||||||
td2 = td = TAILQ_FIRST(rqh);
|
td2 = td = TAILQ_FIRST(rqh);
|
||||||
|
|
||||||
while (count-- && td2) {
|
while (count-- && td2) {
|
||||||
if (td->td_lastcpu == cpu) {
|
if (td2->td_lastcpu == cpu) {
|
||||||
td = td2;
|
td = td2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user