- Call mp_topology() after all CPUs have been probed.

This commit is contained in:
jeff 2003-12-11 03:49:02 +00:00
parent 0a4c39bc01
commit 664c5596fb

View File

@ -600,6 +600,10 @@ apic_init(void *dummy __unused)
if (retval != 0)
printf("%s: Failed to setup the local APIC: returned %d\n",
best_enum->apic_name, retval);
#ifdef SMP
/* Last, setup the cpu topology now that we have probed CPUs */
mp_topology();
#endif
}
SYSINIT(apic_init, SI_SUB_CPU, SI_ORDER_FIRST, apic_init, NULL)