diff options
author | Bert Karwatzki <spasswolf@web.de> | 2024-03-07 22:44:19 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:16:55 +0300 |
commit | 6e28b03a1545a992fdb5baa1ec4202bc6aa07bf2 (patch) | |
tree | 6861c78cd6f60fd14bf1cf4d7879fb807bfc0981 /net | |
parent | cfad6598c4c916fb9236a3d85384f999f91e7026 (diff) | |
download | linux-6e28b03a1545a992fdb5baa1ec4202bc6aa07bf2.tar.xz |
iommu: Fix compilation without CONFIG_IOMMU_INTEL
[ Upstream commit 70bad345e622c23bb530016925c936ab04a646ac ]
When the kernel is comiled with CONFIG_IRQ_REMAP=y but without
CONFIG_IOMMU_INTEL compilation fails since commit def054b01a8678 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: Bert Karwatzki <spasswolf@web.de>
Fixes: 80a9b50c0b9e ("iommu/vt-d: Improve ITE fault handling if target device isn't present")
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20240307194419.15801-1-spasswolf@web.de
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions