KVM: Expose ioapic to ia64 save/restore APIs

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>
This commit is contained in:
Zhang Xiantao 2007-12-17 20:27:27 +08:00 коммит произвёл Avi Kivity
Родитель 5736199afb
Коммит ec10f4750d
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -53,6 +53,8 @@ struct kvm_irqchip {
char dummy[512]; /* reserving space */ char dummy[512]; /* reserving space */
#ifdef CONFIG_X86 #ifdef CONFIG_X86
struct kvm_pic_state pic; struct kvm_pic_state pic;
#endif
#if defined(CONFIG_X86) || defined(CONFIG_IA64)
struct kvm_ioapic_state ioapic; struct kvm_ioapic_state ioapic;
#endif #endif
} chip; } chip;