]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7faf10bc4828e3d28dbaf7f1bb8443952ceaeada
treeb6161b925f0fa1957a5a9e1174fd963c3b745ca3
parent05ac812bfe31f322a7268d94b6c82a45b3bd19c0
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