summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/i386/mp_machdep.c1
-rw-r--r--sys/kern/subr_smp.c1
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;
OpenPOWER on IntegriCloud