diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-05-07 01:24:56 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-05-07 01:24:56 +0000 |
commit | c263f7d82bd93d45c9014192b756f77a8c155ae0 (patch) | |
tree | 3970b295703faedf65288860757c7312dc0ced9f /sys/arch/powerpc | |
parent | 270f007e9e9aa86ba1b88b4fcae8c93db3bf8ab7 (diff) |
Fix fallout from recent trunc_page() changes.
problem and fix pointed out by dhartmei,
variable name changed to make slightly easier to read.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/powerpc/machdep.c b/sys/arch/powerpc/powerpc/machdep.c index a23bca9f230..1c06ac541d3 100644 --- a/sys/arch/powerpc/powerpc/machdep.c +++ b/sys/arch/powerpc/powerpc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.59 2001/05/05 22:34:14 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.60 2001/05/07 01:24:55 drahn Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -1277,8 +1277,8 @@ mapiodev(pa, len) return (void*) (va+off); } void -unmapiodev(va, p_size) - void *va; +unmapiodev(kva, p_size) + void *kva; psize_t p_size; { vaddr_t vaddr; @@ -1286,7 +1286,7 @@ unmapiodev(va, p_size) size = p_size; - vaddr = trunc_page(va); + vaddr = trunc_page((vaddr_t)kva); #ifdef UVM uvm_km_free_wakeup(phys_map, vaddr, size); |