powerpc/dma: remove dma_nommu_mmap_coherent
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:24 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:03 +0000 (22:41 +1100)
commit6666cc17d7802b7dcbb073e7be1eee2cf6fa64d9
treeb6161b925f0fa1957a5a9e1174fd963c3b745ca3
parent18b53a2d479f3906b15edcabeb4135c8f22a11ec
powerpc/dma: remove dma_nommu_mmap_coherent

The coherent cache version of this function already is functionally
identicall to the default version, and by defining the
arch_dma_coherent_to_pfn hook the same is ture for the noncoherent
version as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/dma-mapping.h
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/kernel/dma-swiotlb.c
arch/powerpc/kernel/dma.c
arch/powerpc/mm/dma-noncoherent.c
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/pseries/vio.c