summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/vmparam.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-01-24 05:21:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-01-24 05:21:20 +0000
commit7368f4ae68972ddb7ddb7a31111f0344e34c5fc0 (patch)
treef4ba343d96215d186789866fb656a30d284f86d4 /sys/arch/hppa/include/vmparam.h
parent6c0a93c2cee045d6570be5bc4829b295c5c0129d (diff)
Do not protect struct vm_page_md with defined(_KERNEL), for userland uvm
grovellers need to know it to be able to get the right size for struct vm_page.
Diffstat (limited to 'sys/arch/hppa/include/vmparam.h')
-rw-r--r--sys/arch/hppa/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/vmparam.h b/sys/arch/hppa/include/vmparam.h
index e6755fa0b70..c2a528d2e5a 100644
--- a/sys/arch/hppa/include/vmparam.h
+++ b/sys/arch/hppa/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.40 2014/01/23 22:06:29 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.41 2014/01/24 05:21:19 miod Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -92,7 +92,7 @@
#define VM_PHYSSEG_NOADD /* XXX until uvm code is fixed */
-#if defined(_KERNEL) && !defined(_LOCORE)
+#if !defined(_LOCORE)
#include <sys/lock.h>