1
0
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:
David Xu 2005-12-27 12:02:03 +00:00
parent 7b53693f42
commit 9f8eb3cb52
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153749

View File

@ -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.