]> Git Repo - linux.git/commit
dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops
authorWill Deacon <[email protected]>
Wed, 27 Aug 2014 14:49:10 +0000 (15:49 +0100)
committerWill Deacon <[email protected]>
Mon, 1 Dec 2014 16:50:32 +0000 (16:50 +0000)
commita3a60f81ee6f8fa65a57fa186b395bcd1f1bb097
treefb9f47c0b0f9065916242bfa76864d5b72825b8f
parent1cd076bf67793942ed921b766f7d461de2ebc0a2
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 <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Tested-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/arm/include/asm/dma-mapping.h
drivers/of/platform.c
include/linux/dma-mapping.h
This page took 0.060941 seconds and 4 git commands to generate.