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

Commit 8d9b409b authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

mips,unicore32: swiotlb doesn't need sg->dma_length



Only mips and unicore32 select CONFIG_NEED_SG_DMA_LENGTH when building
swiotlb.  swiotlb itself never merges segements and doesn't accesses the
dma_length field directly, so drop the dependency.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJames Hogan <jhogan@kernel.org>
parent f21254cd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ config CAVIUM_OCTEON_LOCK_L2_MEMCPY
config SWIOTLB
	def_bool y
	select DMA_DIRECT_OPS
	select NEED_SG_DMA_LENGTH

config OCTEON_ILM
	tristate "Module to measure interrupt latency using Octeon CIU Timer"
+0 −1
Original line number Diff line number Diff line
@@ -135,7 +135,6 @@ config SWIOTLB
	default y
	depends on CPU_LOONGSON3
	select DMA_DIRECT_OPS
	select NEED_SG_DMA_LENGTH
	select NEED_DMA_MAP_STATE

config PHYS48_TO_HT40
+0 −1
Original line number Diff line number Diff line
@@ -43,4 +43,3 @@ config CPU_TLB_SINGLE_ENTRY_DISABLE
config SWIOTLB
	def_bool y
	select DMA_DIRECT_OPS
	select NEED_SG_DMA_LENGTH