summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2008-06-11 09:46:39 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2008-06-11 09:46:39 +0000
commit25eb9485dd8c6a8456e7413065b44226703c820c (patch)
tree6b8a3efa4ecd4127a7d0664f63958a5ba2505f4f
parentbcb7563761d3dea56ef7ed05b1fbca295b6747f5 (diff)
unbreak RAMDISK
no cookie for me
-rw-r--r--sys/arch/amd64/amd64/mem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/mem.c b/sys/arch/amd64/amd64/mem.c
index 1c5f01e1746..6b822e29e0e 100644
--- a/sys/arch/amd64/amd64/mem.c
+++ b/sys/arch/amd64/amd64/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.11 2008/06/11 09:22:38 phessler Exp $ */
+/* $OpenBSD: mem.c,v 1.12 2008/06/11 09:46:38 phessler Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
@@ -63,7 +63,9 @@
#include <uvm/uvm_extern.h>
+#if NMTRR > 0
#include "mtrr.h"
+#endif
caddr_t zeropage;
extern int start, end, etext;