Move definition of mem_range_softc from mp_machdep.c to machdep.c so

that it is defined for non-SMP builds, not just SMP ones.
This commit is contained in:
Robert Watson 2004-08-05 00:32:08 +00:00
parent 486b7efd12
commit 5fb2253e10
2 changed files with 3 additions and 2 deletions

View File

@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$");
#include <sys/linker.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/memrange.h>
#include <sys/mutex.h>
#include <sys/pcpu.h>
#include <sys/proc.h>
@ -196,6 +197,8 @@ static struct pcpu __pcpu;
struct mtx icu_lock;
struct mem_range_softc mem_range_softc;
static void
cpu_startup(dummy)
void *dummy;

View File

@ -212,8 +212,6 @@ static int hlt_cpus_mask;
static int hlt_logical_cpus;
static struct sysctl_ctx_list logical_cpu_clist;
struct mem_range_softc mem_range_softc;
static void
mem_range_AP_init(void)
{