diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-08 09:30:00 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-19 09:29:23 +0200 |
commit | 2f9237d4f6df49b74c51cdac555b0a9979d0c237 (patch) | |
tree | 6a09811a657e87bc6b716443993bceb2775a1b8f /arch/x86/Kconfig | |
parent | b4174173005972f8f6497883d08d87e0aba1b604 (diff) | |
download | linux-next-2f9237d4f6df49b74c51cdac555b0a9979d0c237.tar.gz |
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/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 883da0abf779..96ab92754158 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -909,6 +909,7 @@ config DMI config GART_IOMMU bool "Old AMD GART IOMMU support" + select DMA_OPS select IOMMU_HELPER select SWIOTLB depends on X86_64 && PCI && AMD_NB |