From: FUJITA Tomonori Date: Thu, 10 Jul 2008 00:50:50 +0000 (+0900) Subject: x86, AMD IOMMU: clean up Kconfig entry X-Git-Tag: v2.6.27-rc1~1106^2~37 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b743dc948aaddc46258b73f17bdec2ee4019ee;p=linux-2.6 x86, AMD IOMMU: clean up Kconfig entry AMD_IOMMU should depend on IOMMU_HELPER since they are the IOMMU helper functions. SWIOTLB requires IOMMU_HELPER so declaring that AMD_IOMMU depends on SWIOTLB properly fixes the problems. Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index bb0c0d0f6d..c70d886780 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -575,7 +575,7 @@ config SWIOTLB 3 GB of memory. If unsure, say Y. config IOMMU_HELPER - def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB) + def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) config MAXSMP bool "Configure Maximum number of SMP Processors and NUMA Nodes" depends on X86_64 && SMP