powerpc/dma: remove dma_nommu_dma_supported
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:26 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:04 +0000 (22:41 +1100)
commit65a21b71f948406201e4f62e41f06513350ca390
treeb559dae23054117e7ee81ab1c11644b61960ccdb
parent5a47910d76f26e5fe6e9837872efdf8282ea76fb
powerpc/dma: remove dma_nommu_dma_supported

This function is largely identical to the generic version used
everywhere else.  Replace it with the generic version.

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.c