summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-07-22 18:15:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-07-22 18:15:49 +0000
commitcb4a81c1a7c71ab43ec154018edc2d555cdfe3d0 (patch)
tree306c037e58a7f29e7b24d04baefced9aeb5dd59f /sys/arch
parent9336f84eb5155946bad39860ea60eff148329f85 (diff)
Do not define VM_MIN_ADDRESS as __LDPGSZ, but provide its value, to prevent
uvm_map.c from requiring <machine/exec.h>.
Diffstat (limited to 'sys/arch')
-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)