commit | 7610fdf5e056ad5764d19f39db49b11608334610 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 13 08:01:31 2019 +0100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Feb 18 22:41:04 2019 +1100 |
tree | c136aede7dbdbc55a575ff3763378ab3cdfddf49 | |
parent | 68005b67d15a1ee5b5ddff965175728e65fa73e7 [diff] |
powerpc/dma: remove get_dma_offset Just fold the calculation into __phys_to_dma/__dma_to_phys as those are the only places that should know about it. 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>