mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-05 18:05:16 +00:00
Use variable i instead of variable cpus as an index to get correct kseq.
This commit is contained in:
parent
7b53693f42
commit
9f8eb3cb52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153749
@ -952,7 +952,7 @@ sched_setup(void *dummy)
|
||||
for (cpus = 0, i = 0; i < MAXCPU; i++) {
|
||||
if (CPU_ABSENT(i))
|
||||
continue;
|
||||
ksq = &kseq_cpu[cpus];
|
||||
ksq = &kseq_cpu[i];
|
||||
ksg = &kseq_groups[cpus];
|
||||
/*
|
||||
* Setup a kseq group with one member.
|
||||
|
Loading…
x
Reference in New Issue
Block a user