From: Zhang Xiantao Date: Mon, 17 Dec 2007 12:27:27 +0000 (+0800) Subject: KVM: Expose ioapic to ia64 save/restore APIs X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ec10f4750db5e810cafef114a592428f8242b640;p=deliverable%2Flinux.git KVM: Expose ioapic to ia64 save/restore APIs IA64 also needs to see ioapic structure in irqchip. Signed-off-by: xiantao.zhang@intel.com Signed-off-by: Avi Kivity --- diff --git a/include/linux/kvm.h b/include/linux/kvm.h index f0bebd61ff77..de9f28d96ced 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;