summaryrefslogtreecommitdiff
path: root/net/smc
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-03-20 22:11:28 +0300
committerJoerg Roedel <jroedel@suse.de>2017-03-22 17:54:07 +0300
commit21aff52ab2c831c2f07d48e2fa8d4bab26a66992 (patch)
tree40ba17bfdb2e5222a823e36b86dfe69243ca1c4c /net/smc
parent82df0a4368c62e68d6622e19a8f4dca2c7eccd3a (diff)
downloadlinux-21aff52ab2c831c2f07d48e2fa8d4bab26a66992.tar.xz
iommu: Add dummy implementations for !IOMMU_IOVA
Currently, building code which uses the API guarded by the IOMMU_IOVA will fail to link if IOMMU_IOVA is not enabled. Often this code will be using the API provided by the IOMMU_API Kconfig symbol, but support for this can be optional, with code falling back to contiguous memory. This commit implements dummy functions for the IOVA API so that it can be compiled out. With both IOMMU_API and IOMMU_IOVA optional, code can now be built with or without support for IOMMU without having to resort to #ifdefs in the user code. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions