From: FUJITA Tomonori Date: Fri, 11 Jul 2008 01:23:43 +0000 (+0900) Subject: x86: remove ifdef CONFIG_GART_IOMMU in pci-dma.c X-Git-Tag: v2.6.27-rc1~955^2~1^8~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7ded2adb2e43152fe7385ddd53bf45f5c92285;p=pandora-kernel.git x86: remove ifdef CONFIG_GART_IOMMU in pci-dma.c Our way to handle gart_* functions for CONFIG_GART_IOMMU and !CONFIG_GART_IOMMU cases is inconsistent. We have some dummy gart_* functions in !CONFIG_GART_IOMMU case and also use ifdef CONFIG_GART_IOMMU tricks in pci-dma.c to call some gart_* functions in only CONFIG_GART_IOMMU case. This patch removes ifdef CONFIG_GART_IOMMU in pci-dma.c and always use dummy gart_* functions in iommu.h. Signed-off-by: FUJITA Tomonori Acked-by: Muli Ben-Yehuda Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed