powerpc/dma: Use the struct dma_attrs in iommu code
authorMark Nelson <markn@au1.ibm.com>
Tue, 15 Jul 2008 19:51:47 +0000 (05:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:32 +0000 (10:39 +1000)
commit4f3dd8a06239c0a19d772a27c2f618dc2faadf4a
treef7185cd89a1ec2c4bdb356a52a39407e432e7f7d
parent4795b7801b07e1b7286edb0d9321433fc0eac6cc
powerpc/dma: Use the struct dma_attrs in iommu code

Update iommu_alloc() to take the struct dma_attrs and pass them on to
tce_build(). This change propagates down to the tce_build functions of
all the platforms.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iommu.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/iseries/iommu.c
arch/powerpc/platforms/pasemi/iommu.c
arch/powerpc/platforms/pseries/iommu.c
arch/powerpc/sysdev/dart_iommu.c
include/asm-powerpc/machdep.h