summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-11 16:03:38 +0800
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:22 +0300
commite5871be0f5d6847bc9585c997acb1b917c168f03 (patch)
tree9a0c44db7affcc72137455f186d0a4193e206612 /virt/kvm/ioapic.h
parent116191b69b608d0f1513e3abe71d6a46800f2bd6 (diff)
downloadkernel-crypto-e5871be0f5d6847bc9585c997acb1b917c168f03.tar.gz
kernel-crypto-e5871be0f5d6847bc9585c997acb1b917c168f03.tar.xz
kernel-crypto-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 008ec873d01..f395798bc1d 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