diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-14 09:09:46 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-14 09:09:46 +0000 |
commit | a77f8a88834a7fe3e7630ea04e4e475dda9e2448 (patch) | |
tree | e1967865a51f79bbaa009990033d40099af8ce60 /sys/arch/sun3 | |
parent | 423c582ac5d12f55cebc93548573dd13c421d108 (diff) |
Fix fallout from round_page fixes.
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/sun3/sun3_startup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/sun3/sun3_startup.c b/sys/arch/sun3/sun3/sun3_startup.c index 5cd00a71bc7..9806bdf8bdb 100644 --- a/sys/arch/sun3/sun3/sun3_startup.c +++ b/sys/arch/sun3/sun3/sun3_startup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sun3_startup.c,v 1.18 2001/08/20 19:59:45 miod Exp $ */ +/* $OpenBSD: sun3_startup.c,v 1.19 2001/09/14 09:09:45 art Exp $ */ /* $NetBSD: sun3_startup.c,v 1.55 1996/11/20 18:57:38 gwr Exp $ */ /*- @@ -384,7 +384,7 @@ sun3_vm_init(kehp) esym = end; /* This will advance esym past the symbols. */ sun3_save_symtab(kehp); - virtual_avail = round_page(esym); + virtual_avail = round_page((vaddr_t)esym); #else virtual_avail = round_page(end); #endif @@ -580,7 +580,7 @@ sun3_vm_init(kehp) /* text */ va = (vm_offset_t) kernel_text; - eva = trunc_page(etext); + eva = trunc_page((vaddr_t)etext); while (va < eva) { pte = get_pte(va); if ((pte & (PG_VALID|PG_TYPE)) != PG_VALID) { @@ -594,7 +594,7 @@ sun3_vm_init(kehp) } /* data and bss */ - eva = round_page(end); + eva = round_page((vaddr_t)end); while (va < eva) { pte = get_pte(va); if ((pte & (PG_VALID|PG_TYPE)) != PG_VALID) { |