summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Makefile
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-17 14:16:14 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 18:01:19 +0200
commit0eb8f4984824b8a811d44963995133f47813330a (patch)
tree73c35c552c84b7756ea11a05c11c885cd7c12b1a /arch/x86/kvm/Makefile
parent82470196fa346f50ab4071935597017de33c9ee3 (diff)
downloadlinux-0eb8f4984824b8a811d44963995133f47813330a.tar.gz
linux-0eb8f4984824b8a811d44963995133f47813330a.tar.bz2
linux-0eb8f4984824b8a811d44963995133f47813330a.zip
KVM: Move ioapic code to common directory.
Move ioapic code to common, since IA64 also needs it. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/Makefile')
-rw-r--r--arch/x86/kvm/Makefile7
1 files changed, 3 insertions, 4 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 @@
# Makefile for Kernel-based Virtual Machine module
#
-common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o)
+common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o)
-EXTRA_CFLAGS += -I virt/kvm
+EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
-kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
- ioapic.o
+kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o
obj-$(CONFIG_KVM) += kvm.o
kvm-intel-objs = vmx.o
obj-$(CONFIG_KVM_INTEL) += kvm-intel.o