summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-11 09:03:38 +0100
committerAvi Kivity <avi@redhat.com>2009-06-10 10:48:22 +0200
commite5871be0f5d6847bc9585c997acb1b917c168f03 (patch)
tree9a0c44db7affcc72137455f186d0a4193e206612 /virt/kvm/ioapic.h
parentKVM: Unify the delivery of IOAPIC and MSI interrupts (diff)
downloadlinux-e5871be0f5d6847bc9585c997acb1b917c168f03.tar.xz
linux-e5871be0f5d6847bc9585c997acb1b917c168f03.zip
KVM: Change API of kvm_ioapic_get_delivery_bitmask
In order to use with bit ops. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.h')
-rw-r--r--virt/kvm/ioapic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioapic.h
index 008ec873d018..f395798bc1d1 100644
--- a/virt/kvm/ioapic.h
+++ b/virt/kvm/ioapic.h
@@ -70,7 +70,7 @@ void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode);
int kvm_ioapic_init(struct kvm *kvm);
int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level);
void kvm_ioapic_reset(struct kvm_ioapic *ioapic);
-u32 kvm_ioapic_get_delivery_bitmask(struct kvm_ioapic *ioapic, u8 dest,
- u8 dest_mode);
+void kvm_ioapic_get_delivery_bitmask(struct kvm_ioapic *ioapic, u8 dest,
+ u8 dest_mode, unsigned long *mask);
#endif