summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-20 22:19:36 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-20 22:19:36 +0000
commita29e9a67a04c6fa20b859c47137436912f0e59dd (patch)
treef2fe8f3ec9ee0dd95910c2e219560a09e3be20c5
parent3e02328f8b0caaa1e7b5c09528147afcd3dc6af5 (diff)
Only add a pmap_physseg if MD code defines __HAVE_PMAP_PHYSSEG.
-rw-r--r--sys/uvm/uvm_page.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index a15df6878f0..6c5c3cd12e8 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.19 2002/06/11 09:45:16 art Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.20 2002/07/20 22:19:35 art Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -214,7 +214,9 @@ struct vm_physseg {
int free_list; /* which free list they belong on */
struct vm_page *pgs; /* vm_page structures (from start) */
struct vm_page *lastpg; /* vm_page structure for end */
+#ifdef __HAVE_PMAP_PHYSSEG
struct pmap_physseg pmseg; /* pmap specific (MD) data */
+#endif
};
#ifdef _KERNEL