diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-21 14:23:34 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-21 14:23:34 +0000 |
commit | ba487736f65afcf076779b8dd651785ea0e3db25 (patch) | |
tree | 301dc867df3cf4d38afe016ac503bb3a414c170c | |
parent | facd01054b0387f2f88380500716635b1b5d2455 (diff) |
Make this compile without UVM; dirt@monkey.org
-rw-r--r-- | sys/arch/i386/i386/rbus_machdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/rbus_machdep.c b/sys/arch/i386/i386/rbus_machdep.c index ba5dbdc6784..b28eb7169bb 100644 --- a/sys/arch/i386/i386/rbus_machdep.c +++ b/sys/arch/i386/i386/rbus_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus_machdep.c,v 1.4 2000/10/31 18:56:40 deraadt Exp $ */ +/* $OpenBSD: rbus_machdep.c,v 1.5 2000/11/21 14:23:33 aaron Exp $ */ /* $NetBSD: rbus_machdep.c,v 1.2 1999/10/15 06:43:06 haya Exp $ */ /* @@ -112,7 +112,11 @@ _bus_space_unmap(t, bsh, size, adrp) /* * Free the kernel virtual mapping. */ +#if defined(UVM) uvm_km_free(kernel_map, va, endva - va); +#else + kmem_free(kernel_map, va, endva - va); +#endif } } else { panic("_i386_memio_unmap: bad bus space tag"); |