summaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-24 08:58:47 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-09 06:57:56 +0200
commit8d9b409b1a42db9986dfe2d510fe7aea7a98a203 (patch)
treeef1a2f4028ac8e6596e20055d1607a7917577423 /arch/mips/cavium-octeon
parentf21254cdd147d703ed9b79382cab8aff5a966397 (diff)
downloadop-kernel-dev-8d9b409b1a42db9986dfe2d510fe7aea7a98a203.zip
op-kernel-dev-8d9b409b1a42db9986dfe2d510fe7aea7a98a203.tar.gz
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/cavium-octeon')
-rw-r--r--arch/mips/cavium-octeon/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/Kconfig b/arch/mips/cavium-octeon/Kconfig
index 5d73041..eb5faee 100644
--- a/arch/mips/cavium-octeon/Kconfig
+++ b/arch/mips/cavium-octeon/Kconfig
@@ -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"
OpenPOWER on IntegriCloud