diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-17 07:27:27 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 11:01:19 -0500 |
commit | ec10f4750db5e810cafef114a592428f8242b640 (patch) | |
tree | 940178c10eaf4f9cba65da77537b9c82ed0a739b /include/linux/kvm.h | |
parent | 5736199afba8a8bb60a1ea282ab72857d6b16400 (diff) |
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>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | 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 f0bebd61ff77..de9f28d96ced 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -53,6 +53,8 @@ struct kvm_irqchip { | |||
53 | char dummy[512]; /* reserving space */ | 53 | char dummy[512]; /* reserving space */ |
54 | #ifdef CONFIG_X86 | 54 | #ifdef CONFIG_X86 |
55 | struct kvm_pic_state pic; | 55 | struct kvm_pic_state pic; |
56 | #endif | ||
57 | #if defined(CONFIG_X86) || defined(CONFIG_IA64) | ||
56 | struct kvm_ioapic_state ioapic; | 58 | struct kvm_ioapic_state ioapic; |
57 | #endif | 59 | #endif |
58 | } chip; | 60 | } chip; |