Signed-off-by: Joerg Roedel <[email protected]> --- kernel/x86/Kbuild | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/kernel/x86/Kbuild b/kernel/x86/Kbuild index faee1e7..c0776f5 100644 --- a/kernel/x86/Kbuild +++ b/kernel/x86/Kbuild @@ -9,7 +9,9 @@ kvm-objs := kvm_main.o x86.o mmu.o x86_emulate.o ../anon_inodes.o irq.o i8259.o ifeq ($(EXT_CONFIG_KVM_TRACE),y) kvm-objs += kvm_trace.o endif -ifeq ($(CONFIG_DMAR),y) +ifeq ($(CONFIG_IOMMU_API),y) +kvm-objs += iommu.o +else ifeq ($(CONFIG_DMAR),y) ifeq ($(KVM_USE_VTD_IOMMU),y) kvm-objs += vtd.o endif -- 1.5.6.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
