diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index a6963256d47..8ad9a9cc827 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.428 2008/05/21 18:49:47 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.429 2008/05/30 23:10:16 fgsch Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -3577,6 +3577,9 @@ bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size) (void) pmap_extract(pmap_kernel(), va, &bpa); bpa += (bsh & PGOFSET); + pmap_kremove(va, endva - va); + pmap_update(pmap_kernel()); + /* * Free the kernel virtual mapping. */ @@ -3621,6 +3624,9 @@ _bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size, (void) pmap_extract(pmap_kernel(), va, &bpa); bpa += (bsh & PGOFSET); + pmap_kremove(va, endva - va); + pmap_update(pmap_kernel()); + /* * Free the kernel virtual mapping. */ |