From 1f225df81c7bee8b55609a5ece995012c1644807 Mon Sep 17 00:00:00 2001
From: xiantao.zhang@intel.com <xiantao.zhang@intel.com>
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@intel.com <xiantao.zhang@intel.com>
---
 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

