diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-08-24 11:54:21 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 09:32:07 +0200 |
commit | 3e71f88bc90792a187703860cf22fbed7c12cbd9 (patch) | |
tree | 91219ea4a7714ac462c30c15314cfb8f25d0f812 /arch/ia64/include/asm/kvm.h | |
parent | 46e624b95c36d729bdf24010fff11d16f6fe94fa (diff) | |
download | talos-obmc-linux-3e71f88bc90792a187703860cf22fbed7c12cbd9.tar.gz talos-obmc-linux-3e71f88bc90792a187703860cf22fbed7c12cbd9.zip |
KVM: Maintain back mapping from irqchip/pin to gsi
Maintain back mapping from irqchip/pin to gsi to speedup
interrupt acknowledgment notifications.
[avi: build fix on non-x86/ia64]
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64/include/asm/kvm.h')
-rw-r--r-- | arch/ia64/include/asm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm.h b/arch/ia64/include/asm/kvm.h index 18a7e49abbc5..bc90c75adf67 100644 --- a/arch/ia64/include/asm/kvm.h +++ b/arch/ia64/include/asm/kvm.h @@ -60,6 +60,7 @@ struct kvm_ioapic_state { #define KVM_IRQCHIP_PIC_MASTER 0 #define KVM_IRQCHIP_PIC_SLAVE 1 #define KVM_IRQCHIP_IOAPIC 2 +#define KVM_NR_IRQCHIPS 3 #define KVM_CONTEXT_SIZE 8*1024 |