]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Split out the logic that allocates struct iommus
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 29 Jan 2008 14:13:59 +0000 (01:13 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 31 Jan 2008 01:11:10 +0000 (12:11 +1100)
commit2ed2b89094d2c62b3f171e75d1f0f0c352d23dd4
tree2dada617645452adac673d09c82c3e51edf52ab8
parent491d24333f03581a899cb675d4d2e8e0e8da0f61
[POWERPC] Split out the logic that allocates struct iommus

Split out the logic that allocates a struct iommu into a separate
function.  This can fail however the calling code has never cared - so
just return if we can't allocate an iommu.

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