]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/dma: use phys_to_dma instead of get_dma_offset
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:23 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:03 +0000 (22:41 +1100)
commit05ac812bfe31f322a7268d94b6c82a45b3bd19c0
tree19312bc1a61458614556bbf28ab7523773963f5c
parentdc5950f0fe7dc51af4cb32465dcb20cff92b3b43
powerpc/dma: use phys_to_dma instead of get_dma_offset

Use the standard portable helper instead of the powerpc specific one,
which is about to go away.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/dma.c