From: FUJITA Tomonori Date: Thu, 10 Jul 2008 00:50:50 +0000 (+0900) Subject: x86, AMD IOMMU: clean up Kconfig entry X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18b743dc948aaddc46258b73f17bdec2ee4019ee;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 bb0c0d0f6db7..c70d8867800f 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