diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-24 09:58:47 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-09 07:57:56 +0300 |
commit | 8d9b409b1a42db9986dfe2d510fe7aea7a98a203 (patch) | |
tree | ef1a2f4028ac8e6596e20055d1607a7917577423 /arch/mips/loongson64 | |
parent | f21254cdd147d703ed9b79382cab8aff5a966397 (diff) | |
download | linux-8d9b409b1a42db9986dfe2d510fe7aea7a98a203.tar.xz |
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>
Diffstat (limited to 'arch/mips/loongson64')
-rw-r--r-- | arch/mips/loongson64/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 641a1477031e..2a4fb91adbb6 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loongson64/Kconfig @@ -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 |