summaryrefslogtreecommitdiff
path: root/virt/kvm/ioapic.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-11 16:03:39 +0800
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:22 +0300
commit110c2faeba1f1994bcb1de55b9c31f4147dbfdb6 (patch)
tree09e385a29bd2877a8099284ebbb225cf4da7eb64 /virt/kvm/ioapic.h
parente5871be0f5d6847bc9585c997acb1b917c168f03 (diff)
downloadlinux-3.10-110c2faeba1f1994bcb1de55b9c31f4147dbfdb6.tar.gz
linux-3.10-110c2faeba1f1994bcb1de55b9c31f4147dbfdb6.tar.bz2
linux-3.10-110c2faeba1f1994bcb1de55b9c31f4147dbfdb6.zip
KVM: Update intr delivery func to accept unsigned long* bitmap
Would be used with bit ops, and would be easily extended if KVM_MAX_VCPUS is increased. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioapic.h
index f395798bc1d..7275f87a11c 100644
--- a/virt/kvm/ioapic.h
+++ b/virt/kvm/ioapic.h
@@ -65,7 +65,7 @@ static inline struct kvm_ioapic *ioapic_irqchip(struct kvm *kvm)
}
struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector,
- unsigned long bitmap);
+ unsigned long *bitmap);
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);