summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2022-09-13 12:47:20 +0100
committerJoerg Roedel <jroedel@suse.de>2022-09-26 13:31:20 +0200
commit4f58330fcc8482aa90674e1f40f601e82f18ed4a (patch)
treeb614d551fdc979f51c43ab414e6b16ea69570038 /drivers/iommu/amd
parentc7883f8d2b0ab4b8e4df8cf37861523ad9ad1407 (diff)
downloadlinux-stable-4f58330fcc8482aa90674e1f40f601e82f18ed4a.tar.gz
linux-stable-4f58330fcc8482aa90674e1f40f601e82f18ed4a.tar.bz2
linux-stable-4f58330fcc8482aa90674e1f40f601e82f18ed4a.zip
iommu/iova: Fix module config properly
IOMMU_IOVA is intended to be an optional library for users to select as and when they desire. Since it can be a module now, this means that built-in code which has chosen not to select it should not fail to link if it happens to have selected as a module by someone else. Replace IS_ENABLED() with IS_REACHABLE() to do the right thing. CC: Thierry Reding <thierry.reding@gmail.com> Reported-by: John Garry <john.garry@huawei.com> Fixes: 15bbdec3931e ("iommu: Make the iova library a module") Signed-off-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/548c2f683ca379aface59639a8f0cccc3a1ac050.1663069227.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd')
0 files changed, 0 insertions, 0 deletions