mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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:
parent
5736199afb
commit
ec10f4750d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue