summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-07-22 18:15:48 +0000
committermiod <miod@openbsd.org>2008-07-22 18:15:48 +0000
commit5088440718083bde599de10cfa93d52543b2e31d (patch)
tree6689ee631b5ccf02a2839366b890a5ae80c43a9a
parentThere are devices out there which are UVC compatible, but do not show (diff)
downloadwireguard-openbsd-5088440718083bde599de10cfa93d52543b2e31d.tar.xz
wireguard-openbsd-5088440718083bde599de10cfa93d52543b2e31d.zip
Do not define VM_MIN_ADDRESS as __LDPGSZ, but provide its value, to prevent
uvm_map.c from requiring <machine/exec.h>.
-rw-r--r--sys/arch/sparc/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/vmparam.h b/sys/arch/sparc/include/vmparam.h
index e527985d3bc..8dc59a3729f 100644
--- a/sys/arch/sparc/include/vmparam.h
+++ b/sys/arch/sparc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.32 2008/06/24 21:24:03 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.33 2008/07/22 18:15:48 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.13 1997/07/12 16:20:03 perry Exp $ */
/*
@@ -89,7 +89,7 @@
* IO space virtual base, which must be the same as VM_MAX_KERNEL_ADDRESS:
* tread with care.
*/
-#define VM_MIN_ADDRESS ((vaddr_t)__LDPGSZ)
+#define VM_MIN_ADDRESS ((vaddr_t)0x2000)
#define VM_MAX_ADDRESS ((vaddr_t)VM_MIN_KERNEL_ADDRESS)
#define VM_MAXUSER_ADDRESS ((vaddr_t)VM_MIN_KERNEL_ADDRESS)
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE)