summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/include/vmparam.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/macppc/include/vmparam.h b/sys/arch/macppc/include/vmparam.h
index 9ace5e9b546..ab20ab911a9 100644
--- a/sys/arch/macppc/include/vmparam.h
+++ b/sys/arch/macppc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.18 2007/05/27 15:46:02 drahn Exp $ */
+/* $OpenBSD: vmparam.h,v 1.19 2007/06/14 14:27:46 drahn Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
@@ -96,6 +96,8 @@ extern vaddr_t ppc_kvm_stolen;
#define VM_NFREELIST 1
#define VM_FREELIST_DEFAULT 0
+#ifdef _KERNEL
+
#define __HAVE_VM_PAGE_MD
struct pv_entry;
struct vm_page_md {
@@ -106,5 +108,7 @@ struct vm_page_md {
LIST_INIT(&((pg)->mdpage.pv_list)); \
} while (0)
+#endif
+
#endif