]> err.no Git - linux-2.6/commit
[POWERPC] Don't enable cell IOMMU fixed mapping if there are no dma-ranges
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 8 Feb 2008 05:37:03 +0000 (16:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Feb 2008 08:52:40 +0000 (19:52 +1100)
commit0e0b47abb71a2c4aed5895c01f41827dbd8a981c
tree03b8d844cab362388ecaf28431dac83dc350d6fa
parentccd05d086f82dba2ab117dcaf4a38cbb2863a439
[POWERPC] Don't enable cell IOMMU fixed mapping if there are no dma-ranges

In order for the cell IOMMU fixed mapping to work we need "dma-ranges"
properties in the device tree. If there are none then there's no point
enabling the fixed mapping support.

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