When setting up pc_other_cpus for APs based on pc_allcpu clear pc_cpuid

in the former rather than the latter.
This gets this branch working on at least Jalapeno-class CPUs.
This commit is contained in:
marius 2011-05-13 15:21:31 +00:00
parent d62a193525
commit f85a68226d

View File

@ -470,7 +470,7 @@ cpu_mp_bootstrap(struct pcpu *pc)
smp_cpus++;
KASSERT(curthread != NULL, ("%s: curthread", __func__));
ocpus = all_cpus;
CPU_CLR(curcpu, &all_cpus);
CPU_CLR(curcpu, &ocpus);
PCPU_SET(other_cpus, ocpus);
printf("SMP: AP CPU #%d Launched!\n", curcpu);