summaryrefslogtreecommitdiffstats
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-27 15:49:10 +0100
committerWill Deacon <will.deacon@arm.com>2014-12-01 16:50:32 +0000
commita3a60f81ee6f8fa65a57fa186b395bcd1f1bb097 (patch)
treefb9f47c0b0f9065916242bfa76864d5b72825b8f /include/linux/iommu.h
parent1cd076bf67793942ed921b766f7d461de2ebc0a2 (diff)
downloadblackbird-obmc-linux-a3a60f81ee6f8fa65a57fa186b395bcd1f1bb097.tar.gz
blackbird-obmc-linux-a3a60f81ee6f8fa65a57fa186b395bcd1f1bb097.zip
dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops
set_arch_dma_coherent_ops is called from of_dma_configure in order to swizzle the architectural dma-mapping functions over to a cache-coherent implementation. This is currently implemented only for ARM. In anticipation of re-using this mechanism for IOMMU-backed dma-mapping ops too, this patch replaces the function with a broader arch_setup_dma_ops callback which will be extended in future. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud