Parcourir la source

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>
Xiantao Zhang il y a 16 ans
Parent
commit
6b08035f3e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 0
      arch/ia64/kvm/irq.h
  2. 0 2
      virt/kvm/irq_comm.c

+ 2 - 0
arch/ia64/kvm/irq.h

@@ -23,6 +23,8 @@
 #ifndef __IRQ_H
 #define __IRQ_H
 
+#include "lapic.h"
+
 static inline int irqchip_in_kernel(struct kvm *kvm)
 {
 	return 1;

+ 0 - 2
virt/kvm/irq_comm.c

@@ -21,9 +21,7 @@
 
 #include <linux/kvm_host.h>
 
-#ifdef CONFIG_X86
 #include <asm/msidef.h>
-#endif
 
 #include "irq.h"