summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/mem.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-08-07 06:21:37 +0000
committerscottl <scottl@FreeBSD.org>2004-08-07 06:21:37 +0000
commitec3b17da1d13abc152b53fe8ba43724d2e25208d (patch)
tree4a2aafc0d4c5cce10cb1668429f1b03e9aaa195d /sys/amd64/amd64/mem.c
parent579a1870f9c63070b6d4f4872927b9acd3ac6c4c (diff)
downloadFreeBSD-src-ec3b17da1d13abc152b53fe8ba43724d2e25208d.zip
FreeBSD-src-ec3b17da1d13abc152b53fe8ba43724d2e25208d.tar.gz
Move the definition of M_MEMDESC to a non-optional file. This allows
kernels configurations without the 'mem' device to compile.
Diffstat (limited to 'sys/amd64/amd64/mem.c')
-rw-r--r--sys/amd64/amd64/mem.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/amd64/mem.c b/sys/amd64/amd64/mem.c
index 00f5a8e..f3280d0 100644
--- a/sys/amd64/amd64/mem.c
+++ b/sys/amd64/amd64/mem.c
@@ -67,11 +67,6 @@ __FBSDID("$FreeBSD$");
#include <machine/memdev.h>
-/*
- * Used in /dev/mem drivers and elsewhere
- */
-MALLOC_DEFINE(M_MEMDESC, "memdesc", "memory range descriptors");
-
/* ARGSUSED */
int
memrw(struct cdev *dev, struct uio *uio, int flags)
OpenPOWER on IntegriCloud