From: Mark Nelson Date: Fri, 4 Jul 2008 19:05:41 +0000 (+1000) Subject: powerpc/dma: Add struct iommu_table argument to iommu_map_sg() X-Git-Tag: v2.6.27-rc1~1058^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8692362db3db3a6f644e05a477161d967430aac;p=pandora-kernel.git powerpc/dma: Add struct iommu_table argument to iommu_map_sg() Make iommu_map_sg take a struct iommu_table. It did so before commit 740c3ce66700640a6e6136ff679b067e92125794 (iommu sg merging: ppc: make iommu respect the segment size limits). This stops the function looking in the archdata.dma_data for the iommu table because in the future it will be called with a device that has no table there. This also has the nice side effect of making iommu_map_sg() match the other map functions. Signed-off-by: Mark Nelson Signed-off-by: Arnd Bergmann Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed