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>
This commit is contained in:
@@ -43,4 +43,3 @@ config CPU_TLB_SINGLE_ENTRY_DISABLE
|
||||
config SWIOTLB
|
||||
def_bool y
|
||||
select DMA_DIRECT_OPS
|
||||
select NEED_SG_DMA_LENGTH
|
||||
|
Reference in New Issue
Block a user