summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 09:11:36 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 09:11:36 +0000
commit01c5e1836fccd528eccaa2ffe73ca4254d109720 (patch)
tree8da177572df64fdf5b17ce6e4565dcf716dd0d83
parentffd379e2c8f3080bbb53f6f52fdcfc4202800595 (diff)
DOH s/btoc/i386_round_page/
-rw-r--r--sys/arch/i386/i386/machdep.c5
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;