dma-mapping: move the NEED_DMA_MAP_STATE config symbol to lib/Kconfig
This way we have one central definition of it, and user can select it as needed. Note that we now also always select it when CONFIG_DMA_API_DEBUG is select, which fixes some incorrect checks in a few network drivers. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Anshuman Khandual <khandual@linux.vnet.ibm.com>
Showing
- arch/alpha/Kconfig 1 addition, 3 deletionsarch/alpha/Kconfig
- arch/arm/Kconfig 1 addition, 3 deletionsarch/arm/Kconfig
- arch/arm64/Kconfig 1 addition, 3 deletionsarch/arm64/Kconfig
- arch/ia64/Kconfig 1 addition, 3 deletionsarch/ia64/Kconfig
- arch/mips/Kconfig 0 additions, 3 deletionsarch/mips/Kconfig
- arch/parisc/Kconfig 1 addition, 3 deletionsarch/parisc/Kconfig
- arch/s390/Kconfig 1 addition, 3 deletionsarch/s390/Kconfig
- arch/sh/Kconfig 1 addition, 3 deletionsarch/sh/Kconfig
- arch/sparc/Kconfig 1 addition, 3 deletionsarch/sparc/Kconfig
- arch/unicore32/Kconfig 1 addition, 3 deletionsarch/unicore32/Kconfig
- arch/x86/Kconfig 2 additions, 4 deletionsarch/x86/Kconfig
- drivers/iommu/Kconfig 1 addition, 0 deletionsdrivers/iommu/Kconfig
- include/linux/dma-mapping.h 1 addition, 1 deletioninclude/linux/dma-mapping.h
- lib/Kconfig 3 additions, 0 deletionslib/Kconfig
- lib/Kconfig.debug 1 addition, 0 deletionslib/Kconfig.debug
Loading
Please register or sign in to comment