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>
Showing
- arch/alpha/Kconfig 1 addition, 0 deletionsarch/alpha/Kconfig
- arch/arm/Kconfig 1 addition, 0 deletionsarch/arm/Kconfig
- arch/ia64/Kconfig 1 addition, 0 deletionsarch/ia64/Kconfig
- arch/mips/Kconfig 1 addition, 0 deletionsarch/mips/Kconfig
- arch/parisc/Kconfig 1 addition, 0 deletionsarch/parisc/Kconfig
- arch/powerpc/Kconfig 1 addition, 0 deletionsarch/powerpc/Kconfig
- arch/s390/Kconfig 1 addition, 0 deletionsarch/s390/Kconfig
- arch/sparc/Kconfig 1 addition, 0 deletionsarch/sparc/Kconfig
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- drivers/infiniband/core/device.c 5 additions, 1 deletiondrivers/infiniband/core/device.c
- drivers/iommu/Kconfig 2 additions, 0 deletionsdrivers/iommu/Kconfig
- drivers/macintosh/macio_asic.c 2 additions, 2 deletionsdrivers/macintosh/macio_asic.c
- drivers/misc/mic/Kconfig 4 additions, 0 deletionsdrivers/misc/mic/Kconfig
- drivers/vdpa/Kconfig 1 addition, 0 deletionsdrivers/vdpa/Kconfig
- drivers/xen/Kconfig 1 addition, 0 deletionsdrivers/xen/Kconfig
- include/linux/device.h 2 additions, 1 deletioninclude/linux/device.h
- include/linux/dma-mapping.h 11 additions, 1 deletioninclude/linux/dma-mapping.h
- kernel/dma/Kconfig 4 additions, 0 deletionskernel/dma/Kconfig
- kernel/dma/Makefile 2 additions, 1 deletionkernel/dma/Makefile
Loading
Please register or sign in to comment