]> git.baikalelectronics.ru Git - kernel.git/commit
mips,unicore32: swiotlb doesn't need sg->dma_length
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Apr 2018 06:58:47 +0000 (08:58 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 04:57:56 +0000 (06:57 +0200)
commit6182c0e960a36da511881c3db8257f580b288a09
treeef1a2f4028ac8e6596e20055d1607a7917577423
parent47fd804e5a48b04e4752203bfecc8d8e13b9ef84
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: Christoph Hellwig <hch@lst.de>
Acked-by: James Hogan <jhogan@kernel.org>
arch/mips/cavium-octeon/Kconfig
arch/mips/loongson64/Kconfig
arch/unicore32/mm/Kconfig