[PATCH] Make ioapic structure in irqchip seen by ia64

Zhang, Xiantao
2007-12-17T12:44:21Z

From: xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Date: Mon, 17 Dec 2007 20:27:27 +0800
Subject: [PATCH] kvm: make ioapic structure in irqchip seen by ia64

IA64 also needs to see ioapic structure in irqchip.
Signed-off-by: xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
include/linux/kvm.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index f0bebd6..de9f28d 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -53,6 +53,8 @@ struct kvm_irqchip {
char dummy[512]; /* reserving space */
#ifdef CONFIG_X86
struct kvm_pic_state pic;
+#endif
+#if defined(CONFIG_X86) || defined(CONFIG_IA64)
struct kvm_ioapic_state ioapic;
#endif
} chip;
--
1.5.2