]> git.baikalelectronics.ru Git - kernel.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)
commit44328991f217854e25919872824cc7cbc1e5c6a0
tree8e82d63ab4cf2ea9815b4a1b0ba7dae0f0f36cf6
parent7e505011bdf9bd597e2762f11bfee21db8a48799
[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