- Call mp_topology() after all CPUs have been probed.
This commit is contained in:
parent
0a4c39bc01
commit
664c5596fb
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user