summaryrefslogtreecommitdiff
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-08 10:30:00 +0300
committerChristoph Hellwig <hch@lst.de>2020-07-19 10:29:23 +0300
commit2f9237d4f6df49b74c51cdac555b0a9979d0c237 (patch)
tree6a09811a657e87bc6b716443993bceb2775a1b8f /arch/sparc/Kconfig
parentb4174173005972f8f6497883d08d87e0aba1b604 (diff)
downloadlinux-2f9237d4f6df49b74c51cdac555b0a9979d0c237.tar.xz
dma-mapping: make support for dma ops optional
Avoid the overhead of the dma ops support for tiny builds that only use the direct mapping. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 5bf2dc163540..5db1faaaee31 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -15,6 +15,7 @@ config SPARC
default y
select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI
select ARCH_MIGHT_HAVE_PC_SERIO
+ select DMA_OPS
select OF
select OF_PROMTREE
select HAVE_ASM_MODVERSIONS