diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2013-02-13 21:21:35 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2013-02-13 21:21:35 +0000 |
commit | 0b7142df1b64033bac3f97c7ec7ff65080970e14 (patch) | |
tree | 08ea1fcc0a39cf402a10f00176816766488ffb03 /sys/arch/i386 | |
parent | 9d19fa6bbe5215e5ba79b7327ce1dc60eb87d38a (diff) |
De-magic IOM_END like in the rest of machdep.c. OK miod@.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 2e0ed22d293..17e0c0cd999 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.519 2012/12/04 20:51:10 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.520 2013/02/13 21:21:34 martynas Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -3251,8 +3251,8 @@ init386(paddr_t first_avail) printf("physload: "); #endif kb = atop(KERNTEXTOFF - KERNBASE); - if (kb > atop(0x100000)) { - paddr_t lim = atop(0x100000); + if (kb > atop(IOM_END)) { + paddr_t lim = atop(IOM_END); #ifdef DEBUG printf(" %x-%x (<16M)", lim, kb); #endif |