diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-03-05 09:34:49 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:27 -0400 |
commit | a53c17d21c46a752f5ac6695376481bc27865b04 (patch) | |
tree | f7ece20fcb0adbf4cabc580fb5a16cf5eec0a897 /include | |
parent | 6da7e3f643cf7099965d75fda8606b9d3a8650b9 (diff) |
KVM: ioapic/msi interrupt delivery consolidation
ioapic_deliver() and kvm_set_msi() have code duplication. Move
the code into ioapic_deliver_entry() function and call it from
both places.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3b91ec9982c2..ec9d078b1e8e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -364,7 +364,7 @@ void kvm_unregister_irq_mask_notifier(struct kvm *kvm, int irq, | |||
364 | void kvm_fire_mask_notifiers(struct kvm *kvm, int irq, bool mask); | 364 | void kvm_fire_mask_notifiers(struct kvm *kvm, int irq, bool mask); |
365 | 365 | ||
366 | #ifdef __KVM_HAVE_IOAPIC | 366 | #ifdef __KVM_HAVE_IOAPIC |
367 | void kvm_get_intr_delivery_bitmask(struct kvm_ioapic *ioapic, | 367 | void kvm_get_intr_delivery_bitmask(struct kvm *kvm, |
368 | union kvm_ioapic_redirect_entry *entry, | 368 | union kvm_ioapic_redirect_entry *entry, |
369 | unsigned long *deliver_bitmask); | 369 | unsigned long *deliver_bitmask); |
370 | #endif | 370 | #endif |