commit | 13bf5ced93775ffccb53527a9d862e023a9daa03 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Mar 25 15:44:06 2019 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 06 15:04:40 2019 +0200 |
tree | 8841a56889a7b6468e7c81215428376358345211 | |
parent | 148a97d5a02a62f81b5d6176f871c94a65e1f3af [diff] |
dma-mapping: add a Kconfig symbol to indicate arch_dma_prep_coherent presence Add a Kconfig symbol that indicates an architecture provides a arch_dma_prep_coherent implementation, and provide a stub otherwise. This will allow the generic dma-iommu code to use it while still allowing to be built for cache coherent architectures. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>