]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/dma: implement new dma_*map*_attrs() interfaces
authorMark Nelson <markn@au1.ibm.com>
Fri, 4 Jul 2008 19:05:42 +0000 (05:05 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Jul 2008 06:30:43 +0000 (16:30 +1000)
commit3affedc4e1ce837033b6c5e9289d2ce2f5a62d31
tree83296af2c727e5b5f64b88b629dcf37f8e60e3f0
parentc8692362db3db3a6f644e05a477161d967430aac
powerpc/dma: implement new dma_*map*_attrs() interfaces

Update powerpc to use the new dma_*map*_attrs() interfaces. In doing so
update struct dma_mapping_ops to accept a struct dma_attrs and propagate
these changes through to all users of the code (generic IOMMU and the
64bit DMA code, and the iseries and ps3 platform code).

The old dma_*map_*() interfaces are reimplemented as calls to the
corresponding new interfaces.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/dma_64.c
arch/powerpc/kernel/ibmebus.c
arch/powerpc/kernel/iommu.c
arch/powerpc/platforms/iseries/iommu.c
arch/powerpc/platforms/ps3/system-bus.c
include/asm-powerpc/dma-mapping.h
include/asm-powerpc/iommu.h