aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/irq_comm.c
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-11 03:03:38 -0500
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:22 -0400
commite5871be0f5d6847bc9585c997acb1b917c168f03 (patch)
tree9a0c44db7affcc72137455f186d0a4193e206612 /virt/kvm/irq_comm.c
parent116191b69b608d0f1513e3abe71d6a46800f2bd6 (diff)
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/irq_comm.c')
-rw-r--r--virt/kvm/irq_comm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c
index aec7a0d93a3f..e8ff89c3cca7 100644
--- a/virt/kvm/irq_comm.c
+++ b/virt/kvm/irq_comm.c
@@ -49,8 +49,9 @@ void kvm_get_intr_delivery_bitmask(struct kvm_ioapic *ioapic,
49{ 49{
50 struct kvm_vcpu *vcpu; 50 struct kvm_vcpu *vcpu;
51 51
52 *deliver_bitmask = kvm_ioapic_get_delivery_bitmask(ioapic, 52 kvm_ioapic_get_delivery_bitmask(ioapic, entry->fields.dest_id,
53 entry->fields.dest_id, entry->fields.dest_mode); 53 entry->fields.dest_mode,
54 deliver_bitmask);
54 switch (entry->fields.delivery_mode) { 55 switch (entry->fields.delivery_mode) {
55 case IOAPIC_LOWEST_PRIORITY: 56 case IOAPIC_LOWEST_PRIORITY:
56 vcpu = kvm_get_lowest_prio_vcpu(ioapic->kvm, 57 vcpu = kvm_get_lowest_prio_vcpu(ioapic->kvm,