]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/dma: stop overriding dma_get_required_mask
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:15 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:03 +0000 (22:41 +1100)
commitffe3dfd4e3598651a87651f3d59f144ee31f60fb
treec59499138eefbd31a9837819e27c60e068fee2d5
parent2d6ad41b2c210667b803585b62f9c1943bf02c91
powerpc/dma: stop overriding dma_get_required_mask

The ppc_md and pci_controller_ops methods are unused now and can be
removed.  The dma_nommu implementation is generic to the generic one
except for using max_pfn instead of calling into the memblock API,
and all other dma_map_ops instances implement a method of their own.

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/device.h
arch/powerpc/include/asm/dma-mapping.h
arch/powerpc/include/asm/machdep.h
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/dma.c
kernel/dma/mapping.c