scatterlist: move the NEED_SG_DMA_LENGTH config symbol to lib/Kconfig

This way we have one central definition of it, and user can select it as
needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cette révision appartient à :
Christoph Hellwig
2018-04-05 09:44:52 +02:00
Parent a4ce5a48d7
révision 86596f0a28
16 fichiers modifiés avec 15 ajouts et 46 suppressions

Voir le fichier

@@ -43,7 +43,4 @@ config CPU_TLB_SINGLE_ENTRY_DISABLE
config SWIOTLB
def_bool y
select DMA_DIRECT_OPS
config NEED_SG_DMA_LENGTH
def_bool SWIOTLB
select NEED_SG_DMA_LENGTH