[PATCH 26/30] KVM: ia64: Fix the build errors due to lack of macros related to MSI.

From: Avi Kivity
Date: Fri Feb 27 2009 - 20:47:59 EST


From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>

Include the newly introduced msidef.h to solve the build issues.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
---
arch/ia64/kvm/irq.h | 2 ++
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 c6786e8..c0785a7 100644
--- a/arch/ia64/kvm/irq.h
+++ b/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;
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c
index c516d61..a70d805 100644
--- a/virt/kvm/irq_comm.c
+++ b/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"

--
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/