]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/iommu: Remove dma_data union
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jun 2015 05:25:22 +0000 (15:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 13 Jul 2015 00:10:54 +0000 (10:10 +1000)
commitddcbbc9fb5d87efd9fa4e662c746df24611bef05
tree8ce6264c97956c84ad19c43786729b04ae2ffd2d
parent691a02dd3d562e7e0c624a97ed10da8414abcf30
powerpc/iommu: Remove dma_data union

To support "hybrid" DMA ops in a subsequent patch, we will need both
a direct DMA offset and an iommu pointer. Those are currently exclusive
(a union), so change them to be separate fields.

While there, also type iommu_table_base properly and make exist only
on CONFIG_PPC64 since it's not referenced on 32-bit at all.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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/iommu.h