diff options
author | Xiantao Zhang <xiantao.zhang@intel.com> | 2009-02-16 02:24:05 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:03:13 -0400 |
commit | 6b08035f3e64d8e474be166d682b52c95941662e (patch) | |
tree | b8e3f1be6706631fa713ca94799a056afeef8381 | |
parent | 2fa8937f3af8873e006ce324e7b2d3f9b2077b87 (diff) |
KVM: ia64: Fix the build errors due to lack of macros related to MSI.
Include the newly introduced msidef.h to solve the build issues.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | arch/ia64/kvm/irq.h | 2 | ||||
-rw-r--r-- | virt/kvm/irq_comm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kvm/irq.h b/arch/ia64/kvm/irq.h index c6786e8b1bf4..c0785a728271 100644 --- a/arch/ia64/kvm/irq.h +++ b/arch/ia64/kvm/irq.h | |||
@@ -23,6 +23,8 @@ | |||
23 | #ifndef __IRQ_H | 23 | #ifndef __IRQ_H |
24 | #define __IRQ_H | 24 | #define __IRQ_H |
25 | 25 | ||
26 | #include "lapic.h" | ||
27 | |||
26 | static inline int irqchip_in_kernel(struct kvm *kvm) | 28 | static inline int irqchip_in_kernel(struct kvm *kvm) |
27 | { | 29 | { |
28 | return 1; | 30 | return 1; |
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index c516d618d389..a70d805e0148 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c | |||
@@ -21,9 +21,7 @@ | |||
21 | 21 | ||
22 | #include <linux/kvm_host.h> | 22 | #include <linux/kvm_host.h> |
23 | 23 | ||
24 | #ifdef CONFIG_X86 | ||
25 | #include <asm/msidef.h> | 24 | #include <asm/msidef.h> |
26 | #endif | ||
27 | 25 | ||
28 | #include "irq.h" | 26 | #include "irq.h" |
29 | 27 | ||