diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-12 02:44:01 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-12 02:44:01 +0000 |
commit | b2bb543fc3346de5e5dc7ef8c40ea2a35b4e8eb5 (patch) | |
tree | 5dc68bd62ff060a4dca5bb9eab6c12576e39eb16 /sys/arch/hppa | |
parent | 9b26dfcc47e7c24845f943828d3134500fe5ef46 (diff) |
leftover form dekvtop (which did the block maps too)
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 3ab1f11e4f3..1bf03e967a4 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.22 2002/02/11 21:12:59 mickey Exp $ */ +/* $OpenBSD: mainbus.c,v 1.23 2002/02/12 02:44:00 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -219,6 +219,8 @@ mbus_unmap(void *v, bus_space_handle_t bsh, bus_size_t size) if (pmap_extract(pmap_kernel(), bsh, &bpa) && bpa != bsh) uvm_km_free(kernel_map, sva, eva - sva); + else + bpa = bsh; /* XXX assuming equ b-mapping been done */ if (extent_free(hppa_ex, bpa, size, EX_NOWAIT)) { printf("bus_space_unmap: ps 0x%lx, size 0x%lx\n", |