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:
parent
d62a193525
commit
f85a68226d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user