Commit 1aaf118352b85bb359ce28070bcc478f659a7031
1 parent
fc2100eb4d
select IOMMU_API when DMAR and/or AMD_IOMMU is selected
These two IOMMUs can implement the current version of this API. So select the API if one or both of these IOMMU drivers is selected. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Showing 3 changed files with 7 additions and 0 deletions Side-by-side Diff
arch/ia64/Kconfig
arch/x86/Kconfig
... | ... | @@ -599,6 +599,9 @@ |
599 | 599 | config IOMMU_HELPER |
600 | 600 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
601 | 601 | |
602 | +config IOMMU_API | |
603 | + def_bool (AMD_IOMMU || DMAR) | |
604 | + | |
602 | 605 | config MAXSMP |
603 | 606 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
604 | 607 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL |
drivers/base/Makefile