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:
parent
486b7efd12
commit
5fb2253e10
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user