diff options
author | jhb <jhb@FreeBSD.org> | 2012-07-09 20:42:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-07-09 20:42:08 +0000 |
commit | fb20c6fee6baf0d773d72b8e0a63489e2e7cb188 (patch) | |
tree | cd61c7e18b106d96f8d6dae36d79a742cee193c5 /sys/pc98 | |
parent | f5f1e197556558f5b7ecb769aca02ec45c179e82 (diff) | |
download | FreeBSD-src-fb20c6fee6baf0d773d72b8e0a63489e2e7cb188.zip FreeBSD-src-fb20c6fee6baf0d773d72b8e0a63489e2e7cb188.tar.gz |
Partially revert r217515 so that the mem_range_softc variable is always
present on x86 kernels. This fixes the build of kernels that include
'device acpi' but do not include 'device mem'.
MFC after: 1 month
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 88b1f20..38b7a28 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <sys/linker.h> #include <sys/lock.h> #include <sys/malloc.h> +#include <sys/memrange.h> #include <sys/msgbuf.h> #include <sys/mutex.h> #include <sys/pcpu.h> @@ -216,6 +217,8 @@ struct pcpu __pcpu[MAXCPU]; struct mtx icu_lock; +struct mem_range_softc mem_range_softc; + static void cpu_startup(dummy) void *dummy; |