[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)
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>

No differences found