Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79c1879e authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
parent 33782714
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -345,9 +345,6 @@ config PCI_DOMAINS
config PCI_SYSCALL
	def_bool PCI

config IOMMU_HELPER
	def_bool PCI

config ALPHA_NONAME
	bool
	depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
+0 −3
Original line number Diff line number Diff line
@@ -1780,9 +1780,6 @@ config SECCOMP
config SWIOTLB
	def_bool y

config IOMMU_HELPER
	def_bool SWIOTLB

config PARAVIRT
	bool "Enable paravirtualization code"
	help
+0 −3
Original line number Diff line number Diff line
@@ -251,9 +251,6 @@ config SMP
config SWIOTLB
	def_bool y

config IOMMU_HELPER
	def_bool SWIOTLB

config KERNEL_MODE_NEON
	def_bool y

+0 −3
Original line number Diff line number Diff line
@@ -612,6 +612,3 @@ source "security/Kconfig"
source "crypto/Kconfig"

source "lib/Kconfig"

config IOMMU_HELPER
	def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)
+0 −4
Original line number Diff line number Diff line
@@ -67,16 +67,12 @@ config CAVIUM_OCTEON_LOCK_L2_MEMCPY
	help
	  Lock the kernel's implementation of memcpy() into L2.

config IOMMU_HELPER
	bool

config NEED_SG_DMA_LENGTH
	bool

config SWIOTLB
	def_bool y
	select DMA_DIRECT_OPS
	select IOMMU_HELPER
	select NEED_SG_DMA_LENGTH

config OCTEON_ILM
Loading