]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix cell IOMMU null pointer explosion on old firmwares
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 8 Feb 2008 05:37:02 +0000 (16:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Feb 2008 08:52:39 +0000 (19:52 +1100)
commitccd05d086f82dba2ab117dcaf4a38cbb2863a439
treeb40ca433d1dafab38f0ec35fae3e672c9e3d36ec
parent85687ff2b4eab47f4d637a0d3a482bb955d3cbd4
[POWERPC] Fix cell IOMMU null pointer explosion on old firmwares

The cell IOMMU fixed mapping support has a null pointer bug if you run
it on older firmwares that don't contain the "dma-ranges" properties.
Fix it and convert to using of_get_next_parent() while we're there.

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