diff options
author | jeff <jeff@FreeBSD.org> | 2003-12-11 03:49:02 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-12-11 03:49:02 +0000 |
commit | cf00356cc6ebeaab3f55ce14b7a7d920de36d402 (patch) | |
tree | 28ddb192b922688482cc02e5ba942dc4a8aa59e2 | |
parent | 038bca6ab6308108faac9a9b744c6407b9d568cb (diff) | |
download | FreeBSD-src-cf00356cc6ebeaab3f55ce14b7a7d920de36d402.zip FreeBSD-src-cf00356cc6ebeaab3f55ce14b7a7d920de36d402.tar.gz |
- Call mp_topology() after all CPUs have been probed.
-rw-r--r-- | sys/i386/i386/local_apic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/i386/local_apic.c b/sys/i386/i386/local_apic.c index eb01508..ca46041 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) |