summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/mem.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-07-09 20:42:08 +0000
committerjhb <jhb@FreeBSD.org>2012-07-09 20:42:08 +0000
commitfb20c6fee6baf0d773d72b8e0a63489e2e7cb188 (patch)
treecd61c7e18b106d96f8d6dae36d79a742cee193c5 /sys/amd64/amd64/mem.c
parentf5f1e197556558f5b7ecb769aca02ec45c179e82 (diff)
downloadFreeBSD-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/amd64/amd64/mem.c')
-rw-r--r--sys/amd64/amd64/mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/mem.c b/sys/amd64/amd64/mem.c
index b86f5dd..abbbb21 100644
--- a/sys/amd64/amd64/mem.c
+++ b/sys/amd64/amd64/mem.c
@@ -72,8 +72,6 @@ __FBSDID("$FreeBSD$");
*/
MALLOC_DEFINE(M_MEMDESC, "memdesc", "memory range descriptors");
-struct mem_range_softc mem_range_softc;
-
/* ARGSUSED */
int
memrw(struct cdev *dev, struct uio *uio, int flags)
OpenPOWER on IntegriCloud