]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Implement set_arch_dma_coherent_ops() to replace bus notifiers
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Sep 2014 10:48:31 +0000 (11:48 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Sep 2014 10:48:31 +0000 (11:48 +0100)
commit20b5bb4248fb54f250ea493ce1a81873f380d6d4
tree1c2dc5e758dd6aae85d2c48d7f7485415a6f614b
parent0ca6ca793c114cfe029a23bd8aff6ab030b91010
arm64: Implement set_arch_dma_coherent_ops() to replace bus notifiers

Commit 158c0c756c6c (arm64: Use bus notifiers to set per-device coherent
DMA ops) introduced bus notifiers to set the coherent dma ops based on
the 'dma-coherent' DT property. Since the generic of_dma_configure()
handles this property for platform and AMBA devices, replace the
notifiers with set_arch_dma_coherent_ops().

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c