]> asedeno.scripts.mit.edu Git - linux.git/commit
dma-mapping: always use VM_DMA_COHERENT for generic DMA remap
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2019 06:51:01 +0000 (08:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2019 09:13:20 +0000 (11:13 +0200)
commit512317401f6a337e617ec284d20dec5fa3a951ec
treea835b3bccfb35b7c6498d7cede836bebb05b14af
parentfe9041c245196c6c61091ccc2c74b73ab9a5fc50
dma-mapping: always use VM_DMA_COHERENT for generic DMA remap

Currently the generic dma remap allocator gets a vm_flags passed by
the caller that is a little confusing.  We just introduced a generic
vmalloc-level flag to identify the dma coherent allocations, so use
that everywhere and remove the now pointless argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/mm/dma-mapping.c
arch/xtensa/kernel/pci-dma.c
drivers/iommu/dma-iommu.c
include/linux/dma-mapping.h
kernel/dma/remap.c