70bad345e6
When the kernel is comiled with CONFIG_IRQ_REMAP=y but without CONFIG_IOMMU_INTEL compilation fails since commitdef054b01a
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:80a9b50c0b
("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>
12 lines
417 B
Makefile
12 lines
417 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_DMAR_TABLE) += dmar.o
|
|
obj-$(CONFIG_INTEL_IOMMU) += iommu.o pasid.o nested.o
|
|
obj-$(CONFIG_DMAR_TABLE) += trace.o cap_audit.o
|
|
obj-$(CONFIG_DMAR_PERF) += perf.o
|
|
obj-$(CONFIG_INTEL_IOMMU_DEBUGFS) += debugfs.o
|
|
obj-$(CONFIG_INTEL_IOMMU_SVM) += svm.o
|
|
ifdef CONFIG_INTEL_IOMMU
|
|
obj-$(CONFIG_IRQ_REMAP) += irq_remapping.o
|
|
endif
|
|
obj-$(CONFIG_INTEL_IOMMU_PERF_EVENTS) += perfmon.o
|