Commit 70bad345 authored by Bert Karwatzki's avatar Bert Karwatzki Committed by Joerg Roedel
Browse files

iommu: Fix compilation without CONFIG_IOMMU_INTEL

When the kernel is comiled with CONFIG_IRQ_REMAP=y but without
CONFIG_IOMMU_INTEL compilation fails since commit def054b0

 with an
undefined reference to device_rbtree_find(). This patch makes sure that
intel specific code is only compiled with CONFIG_IOMMU_INTEL=y.

Signed-off-by: default avatarBert Karwatzki <spasswolf@web.de>
Fixes: 80a9b50c

 ("iommu/vt-d: Improve ITE fault handling if target  device isn't present")
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20240307194419.15801-1-spasswolf@web.de


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 80ca79f3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment