diff options
-rw-r--r-- | arch/x86/kvm/Makefile | 7 | ||||
-rw-r--r-- | virt/kvm/ioapic.c (renamed from arch/x86/kvm/ioapic.c) | 2 | ||||
-rw-r--r-- | virt/kvm/ioapic.h (renamed from arch/x86/kvm/ioapic.h) | 0 |
3 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile index af41534af496..ffdd0b310784 100644 --- a/arch/x86/kvm/Makefile +++ b/arch/x86/kvm/Makefile | |||
@@ -2,12 +2,11 @@ | |||
2 | # Makefile for Kernel-based Virtual Machine module | 2 | # Makefile for Kernel-based Virtual Machine module |
3 | # | 3 | # |
4 | 4 | ||
5 | common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o) | 5 | common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o) |
6 | 6 | ||
7 | EXTRA_CFLAGS += -I virt/kvm | 7 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm |
8 | 8 | ||
9 | kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ | 9 | kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o |
10 | ioapic.o | ||
11 | obj-$(CONFIG_KVM) += kvm.o | 10 | obj-$(CONFIG_KVM) += kvm.o |
12 | kvm-intel-objs = vmx.o | 11 | kvm-intel-objs = vmx.o |
13 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o | 12 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
diff --git a/arch/x86/kvm/ioapic.c b/virt/kvm/ioapic.c index 40cd53ed4abd..317f8e211cd2 100644 --- a/arch/x86/kvm/ioapic.c +++ b/virt/kvm/ioapic.c | |||
@@ -363,7 +363,7 @@ static void ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len, | |||
363 | break; | 363 | break; |
364 | #ifdef CONFIG_IA64 | 364 | #ifdef CONFIG_IA64 |
365 | case IOAPIC_REG_EOI: | 365 | case IOAPIC_REG_EOI: |
366 | kvm_ioapic_update_eoi(ioapic, data); | 366 | kvm_ioapic_update_eoi(ioapic->kvm, data); |
367 | break; | 367 | break; |
368 | #endif | 368 | #endif |
369 | 369 | ||
diff --git a/arch/x86/kvm/ioapic.h b/virt/kvm/ioapic.h index 7f16675fe783..7f16675fe783 100644 --- a/arch/x86/kvm/ioapic.h +++ b/virt/kvm/ioapic.h | |||