CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2014/07/11 03:36:27
Modified files: sys/arch/alpha/dev: bus_dma.c sys/arch/amd64/amd64: bus_dma.c sys/arch/arm/arm: bus_dma.c sys/arch/aviion/aviion: bus_dma.c sys/arch/i386/i386: bus_dma.c sys/arch/landisk/landisk: bus_dma.c sys/arch/loongson/loongson: bus_dma.c sys/arch/macppc/macppc: dma.c sys/arch/octeon/octeon: bus_dma.c sys/arch/sgi/sgi: bus_dma.c sys/arch/socppc/socppc: dma.c sys/arch/sparc/sparc: iommu.c machdep.c sys/arch/sparc64/sparc64: machdep.c sys/arch/vax/vax: bus_dma.c Log message: Convert bus_dmamem_map(9) to km_alloc(9) in order to make it fail and not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is specified. idea and inputs from kettenis@, ok miod@