From: Michael Ellerman Date: Fri, 8 Feb 2008 05:37:04 +0000 (+1100) Subject: [POWERPC] Fix potential cell IOMMU bug when switching back to default DMA ops X-Git-Tag: v2.6.25-rc1~43^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a8df1507eaeefc9739e3762db606caa08edba98;p=pandora-kernel.git [POWERPC] Fix potential cell IOMMU bug when switching back to default DMA ops If we get a 64-bit dma mask we switch to the fixed ops and call cell_dma_dev_setup(). If the driver then switches back to a 32-bit dma mask for any reason we don't call cell_dma_dev_setup() again, which has the potential to leave bogus data in dev->archdata.dma_data. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed