]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86, AMD IOMMU: clean up Kconfig entry
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 10 Jul 2008 00:50:50 +0000 (09:50 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Jul 2008 08:43:27 +0000 (10:43 +0200)
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 <mingo@elte.hu>
arch/x86/Kconfig

index bb0c0d0f6db7ef0b4e7f1769c4d94d83acaa9717..c70d8867800f94d02987317e0cc6a95a80d5c56c 100644 (file)
@@ -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