]> 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)
commitfbcf325b89006ef87d1d7b15392c790b3e5dce75
tree19312bc1a61458614556bbf28ab7523773963f5c
parent5baaa69cf3ba1156415188733dd90fc51c19f088
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