summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-06 21:08:08 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-06 21:08:08 +0000
commit8f4f0d067b68ce99a0bc98ac6957727e5d5077c9 (patch)
treead2437cceec34dfd7f14e137341fc6ce73873ec4 /sys/arch/sparc64
parentee69f55163ae525d7c39697f01c2c37a35c99f7e (diff)
Use VM_MAX_KERNEL_ADDRESS instead of KERNEND in pmap_growkernel().
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c
index 620d1c4d403..188764c20b7 100644
--- a/sys/arch/sparc64/sparc64/pmap.c
+++ b/sys/arch/sparc64/sparc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.32 2006/07/01 16:23:31 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.33 2007/01/06 21:08:07 kettenis Exp $ */
/* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
/*
@@ -1572,9 +1572,9 @@ pmap_growkernel(maxkvaddr)
paddr_t pg;
struct pmap *pm = pmap_kernel();
- if (maxkvaddr >= KERNEND) {
+ if (maxkvaddr >= VM_MAX_KERNEL_ADDRESS) {
printf("WARNING: cannot extend kernel pmap beyond %p to %p\n",
- (void *)KERNEND, (void *)maxkvaddr);
+ (void *)VM_MAX_KERNEL_ADDRESS, (void *)maxkvaddr);
return (kbreak);
}
s = splvm();