aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-03 15:41:07 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-09 06:55:44 +0200
commit79c1879ee5473e3404469b07f9bccfe6d0814b93 (patch)
tree7dfd4e224cd8bf1e4790ba8505fd25569f019155 /arch/x86/Kconfig
parentiommu-helper: unexport iommu_area_alloc (diff)
downloadwireguard-linux-79c1879ee5473e3404469b07f9bccfe6d0814b93.tar.xz
wireguard-linux-79c1879ee5473e3404469b07f9bccfe6d0814b93.zip
iommu-helper: mark iommu_is_span_boundary as inline
This avoids selecting IOMMU_HELPER just for this function. And we only use it once or twice in normal builds so this often even is a size reduction. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 13bf2c727524..a43f21e7cfc5 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -934,7 +934,7 @@ config SWIOTLB
config IOMMU_HELPER
def_bool y
- depends on CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU
+ depends on CALGARY_IOMMU || GART_IOMMU
config MAXSMP
bool "Enable Maximum number of SMP Processors and NUMA Nodes"