diff options
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/bus_dma.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/bus_dma.c b/sys/arch/mvmeppc/mvmeppc/bus_dma.c index 839b4c2515c..c4f66441c54 100644 --- a/sys/arch/mvmeppc/mvmeppc/bus_dma.c +++ b/sys/arch/mvmeppc/mvmeppc/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.28 2010/12/26 15:40:59 miod Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.29 2011/06/23 20:44:39 ariane Exp $ */ /* $NetBSD: bus_dma.c,v 1.2 2001/06/10 02:31:25 briggs Exp $ */ /*- @@ -512,12 +512,8 @@ _bus_dmamem_map(t, segs, nsegs, size, kvap, flags) VM_PROT_READ | VM_PROT_WRITE, VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED | PMAP_CANFAIL); if (error) { - /* - * Clean up after ourselves. - * XXX uvm_wait on WAITOK - */ pmap_update(pmap_kernel()); - uvm_km_free(kernel_map, va, ssize); + uvm_km_free(kernel_map, sva, ssize); return (error); } } |