iommu-helper: move the IOMMU_HELPER config symbol to lib/

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-03 15:47:59 +02:00
commit a4ce5a48d7
5 changed files with 9 additions and 14 deletions

View file

@ -429,6 +429,9 @@ config SGL_ALLOC
bool
default n
config IOMMU_HELPER
bool
config DMA_DIRECT_OPS
bool
depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)