mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
- Call mp_topology() after all CPUs have been probed.
This commit is contained in:
parent
59f3a8e626
commit
7085b1c597
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123432
@ -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