KVM: ia64: Fix the build errors due to lack of macros related to MSI.
authorXiantao Zhang <xiantao.zhang@intel.com>
Mon, 16 Feb 2009 07:24:05 +0000 (15:24 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:13 +0000 (11:03 +0200)
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>
arch/ia64/kvm/irq.h
virt/kvm/irq_comm.c

index c6786e8..c0785a7 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef __IRQ_H
 #define __IRQ_H
 
+#include "lapic.h"
+
 static inline int irqchip_in_kernel(struct kvm *kvm)
 {
        return 1;
index c516d61..a70d805 100644 (file)
@@ -21,9 +21,7 @@
 
 #include <linux/kvm_host.h>
 
-#ifdef CONFIG_X86
 #include <asm/msidef.h>
-#endif
 
 #include "irq.h"