summaryrefslogtreecommitdiffstats
path: root/virt/kvm/irq_comm.c
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/irq_comm.c
parente5871be0f5d6847bc9585c997acb1b917c168f03 (diff)
downloadop-kernel-dev-110c2faeba1f1994bcb1de55b9c31f4147dbfdb6.zip
op-kernel-dev-110c2faeba1f1994bcb1de55b9c31f4147dbfdb6.tar.gz
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/irq_comm.c')
-rw-r--r--virt/kvm/irq_comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c
index e8ff89c..d4421cd 100644
--- a/virt/kvm/irq_comm.c
+++ b/virt/kvm/irq_comm.c
@@ -55,7 +55,7 @@ void kvm_get_intr_delivery_bitmask(struct kvm_ioapic *ioapic,
switch (entry->fields.delivery_mode) {
case IOAPIC_LOWEST_PRIORITY:
vcpu = kvm_get_lowest_prio_vcpu(ioapic->kvm,
- entry->fields.vector, *deliver_bitmask);
+ entry->fields.vector, deliver_bitmask);
*deliver_bitmask = 1 << vcpu->vcpu_id;
break;
case IOAPIC_FIXED:
OpenPOWER on IntegriCloud