- Move smp_topology to subr_smp.c so that it is defined on all architectures.

This commit is contained in:
Jeff Roberson 2004-01-24 19:52:48 +00:00
parent 66d217f8db
commit b9509b56fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124925
2 changed files with 1 additions and 1 deletions

View File

@ -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;

View File

@ -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;