]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Split out the IOMMU logic from cell_dma_dev_setup()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 29 Jan 2008 14:14:01 +0000 (01:14 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 31 Jan 2008 01:11:10 +0000 (12:11 +1100)
commit86865771ea213d756b03e1f2ff44d3f811672762
tree8e82d63ab4cf2ea9815b4a1b0ba7dae0f0f36cf6
parent7fc67afc436cf7f74d8cc697012696187332fc35
[POWERPC] Split out the IOMMU logic from cell_dma_dev_setup()

Split the IOMMU logic out from cell_dma_dev_setup() into a separate
function.  If we're not using dma_direct_ops or dma_iommu_ops we don't
know what the hell's going on, so BUG.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/iommu.c