diff options
author | jeff <jeff@FreeBSD.org> | 2004-01-24 19:52:48 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2004-01-24 19:52:48 +0000 |
commit | 8d604e6b087161c287308f7cda047db4a8e29abc (patch) | |
tree | a2400bd3750b82539ffbfcad3e42e0ee0299941f /sys | |
parent | ed6eaf7bd911166c7e8d63e44674b0518add9787 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 1 | ||||
-rw-r--r-- | sys/kern/subr_smp.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index cb4af02..54f7593 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -158,7 +158,6 @@ extern int nkpt; */ static struct cpu_group mp_groups[MAXCPU]; static struct cpu_top mp_top; -struct cpu_top *smp_topology; /* AP uses this during bootstrap. Do not staticize. */ char *bootSTK; 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; |