From: FUJITA Tomonori Date: Thu, 10 Jul 2008 00:50:50 +0000 (+0900) Subject: x86, AMD IOMMU: clean up Kconfig entry X-Git-Tag: v3.12-rc1~20095^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18b743dc948aaddc46258b73f17bdec2ee4019ee;p=kernel%2Fkernel-generic.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 bb0c0d0..c70d886 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