summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-18 10:11:52 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-19 08:46:12 +0200
commit35ddb69cd223eea5b1c68af753ed014208b6144e (patch)
tree3fc2813b561d3434a023ed058c9ea031409e61e3 /lib/Kconfig
parent10314e09d044296bc50dec831aa85b3ae1acedf0 (diff)
downloadlinux-0-day-35ddb69cd223eea5b1c68af753ed014208b6144e.tar.gz
linux-0-day-35ddb69cd223eea5b1c68af753ed014208b6144e.tar.xz
dma-mapping: simplify Kconfig dependencies
ARCH_DMA_ADDR_T_64BIT is always true for 64-bit architectures now, so we can skip the clause requiring it. 'n' is the default default, so no need to explicitly state it. Tested-by: Alexey Brodkin <abrodkin@synopsys.com> Acked-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 1d84e61cccfed..6c4e9d0ce5d1b 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -443,13 +443,11 @@ config IOMMU_HELPER
config DMA_DIRECT_OPS
bool
- depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
- default n
+ depends on HAS_DMA
config DMA_VIRT_OPS
bool
- depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
- default n
+ depends on HAS_DMA
config SWIOTLB
bool