summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
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/unicore32
parent33782714dc53cfb9b8b02e852f3d239e5820cf42 (diff)
downloadlinux-stable-79c1879ee5473e3404469b07f9bccfe6d0814b93.tar.gz
linux-stable-79c1879ee5473e3404469b07f9bccfe6d0814b93.tar.bz2
linux-stable-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/unicore32')
-rw-r--r--arch/unicore32/mm/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/unicore32/mm/Kconfig b/arch/unicore32/mm/Kconfig
index e9154a59d561..3f105e00c432 100644
--- a/arch/unicore32/mm/Kconfig
+++ b/arch/unicore32/mm/Kconfig
@@ -44,9 +44,6 @@ config SWIOTLB
def_bool y
select DMA_DIRECT_OPS
-config IOMMU_HELPER
- def_bool SWIOTLB
-
config NEED_SG_DMA_LENGTH
def_bool SWIOTLB