diff --git a/sys/i386/i386/local_apic.c b/sys/i386/i386/local_apic.c index eb0150865693..ca4604155b01 100644 --- a/sys/i386/i386/local_apic.c +++ b/sys/i386/i386/local_apic.c @@ -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)