summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2004-01-24 19:52:48 +0000
committerjeff <jeff@FreeBSD.org>2004-01-24 19:52:48 +0000
commit8d604e6b087161c287308f7cda047db4a8e29abc (patch)
treea2400bd3750b82539ffbfcad3e42e0ee0299941f /sys/kern/subr_smp.c
parented6eaf7bd911166c7e8d63e44674b0518add9787 (diff)
downloadFreeBSD-src-8d604e6b087161c287308f7cda047db4a8e29abc.zip
FreeBSD-src-8d604e6b087161c287308f7cda047db4a8e29abc.tar.gz
- Move smp_topology to subr_smp.c so that it is defined on all architectures.
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 0192731..c8b59ed 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -59,6 +59,7 @@ int mp_ncpus;
/* export this for libkvm consumers. */
int mp_maxcpus = MAXCPU;
+struct cpu_top *smp_topology;
volatile int smp_started;
u_int all_cpus;
u_int mp_maxid;
OpenPOWER on IntegriCloud