diff options
author | 1997-10-28 09:11:35 +0000 | |
---|---|---|
committer | 1997-10-28 09:11:35 +0000 | |
commit | 82e11a5ebdb3bbf13eb5ccaf7feb84f92ecc6201 (patch) | |
tree | 2ef2cde1592f3389a335632300cd998e131752a6 | |
parent | Mention the builtin disklabel editor with '?' and 'M' commands. (diff) | |
download | wireguard-openbsd-82e11a5ebdb3bbf13eb5ccaf7feb84f92ecc6201.tar.xz wireguard-openbsd-82e11a5ebdb3bbf13eb5ccaf7feb84f92ecc6201.zip |
DOH s/btoc/i386_round_page/
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 10f9b02b38d..f4a59377e47 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.62 1997/10/25 22:04:04 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.63 1997/10/28 09:11:35 niklas Exp $ */ /* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */ /*- @@ -352,7 +352,6 @@ cpu_startup() lldt(pcb->pcb_ldt_sel); proc0.p_md.md_regs = (struct trapframe *)pcb->pcb_tss.tss_esp0 - 1; - } /* @@ -1274,7 +1273,7 @@ init386(first_avail) * BIOS leaves data in low memory and VM system doesn't work with * phys 0, /boot leaves arguments at page 1. */ - avail_start = NBPG + btoc(bootargc); + avail_start = NBPG + i386_round_page(bootargc); avail_end = biosextmem ? IOM_END + biosextmem * 1024 : biosbasemem * 1024; |