OSDN Git Service

dma-mapping: make support for dma ops optional
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 07:30:00 +0000 (09:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:29:23 +0000 (09:29 +0200)
commit2f9237d4f6df49b74c51cdac555b0a9979d0c237
tree6a09811a657e87bc6b716443993bceb2775a1b8f
parentb4174173005972f8f6497883d08d87e0aba1b604
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>
19 files changed:
arch/alpha/Kconfig
arch/arm/Kconfig
arch/ia64/Kconfig
arch/mips/Kconfig
arch/parisc/Kconfig
arch/powerpc/Kconfig
arch/s390/Kconfig
arch/sparc/Kconfig
arch/x86/Kconfig
drivers/infiniband/core/device.c
drivers/iommu/Kconfig
drivers/macintosh/macio_asic.c
drivers/misc/mic/Kconfig
drivers/vdpa/Kconfig
drivers/xen/Kconfig
include/linux/device.h
include/linux/dma-mapping.h
kernel/dma/Kconfig
kernel/dma/Makefile