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 <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
This commit is contained in:
Christoph Hellwig 2018-04-05 09:44:52 +02:00
commit 86596f0a28
16 changed files with 15 additions and 46 deletions

View file

@ -429,6 +429,9 @@ config SGL_ALLOC
bool
default n
config NEED_SG_DMA_LENGTH
bool
config IOMMU_HELPER
bool