From: Will Schmidt Date: Tue, 30 May 2006 18:38:40 +0000 (-0500) Subject: [PATCH] powerpc: fix of_parse_dma_window X-Git-Tag: v2.6.18-rc1~1081^2~225^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03ac829b0046d5769eef3dd841cec33a211db96e;p=pandora-kernel.git [PATCH] powerpc: fix of_parse_dma_window My js20 appears to lack the ibm,#dma- properties, and boot fails with a "Kernel panic - not syncing: iommu_init_table: Can't allocate 0 bytes" message. This adds a fallback to the "#address-cells" property in case the "#ibm,dma-address-cells" property is missing. Tested on js20 and power5 lpar. Unless there is a more elegant solution... :-) Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed