]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Move sg_table wrapper out of CONFIG_IOMMU_SUPPORT
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 30 Jun 2020 08:17:56 +0000 (10:17 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 30 Jun 2020 10:15:42 +0000 (12:15 +0200)
commit35cf6dc3b2f466cd337eb76ab651364cadc68119
treeb6899eb606782d01533244b9ce3e4b714881b83b
parent8189c2fffc1742281b89615598aa15b5efac7638
iommu: Move sg_table wrapper out of CONFIG_IOMMU_SUPPORT

Move the recently added sg_table wrapper out of CONFIG_IOMMU_SUPPORT to
let the client code copile also when IOMMU support is disabled.

Fixes: c5196ea675d8 ("iommu: add generic helper for mapping sgtable objects")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200630081756.18526-1-m.szyprowski@samsung.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h