KVM: Expose ioapic to ia64 save/restore APIs
authorZhang Xiantao <xiantao.zhang@intel.com>
Mon, 17 Dec 2007 12:27:27 +0000 (20:27 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 16:01:19 +0000 (18:01 +0200)
IA64 also needs to see ioapic structure in irqchip.

Signed-off-by: xiantao.zhang@intel.com <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm.h

index f0bebd61ff777aa028e755f4fb0e7ecd4e90bf8d..de9f28d96ced301e8094c3572660ef957db73c76 100644 (file)
@@ -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;