Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329810
b: refs/heads/master
c: 93b6547
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Marcelo Tosatti committed Jul 20, 2012
1 parent 7ac5bb0 commit d742493
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7a7062fa00db7dc66280a72cd9dad0f3595bc66
refs/heads/master: 93b6547e2219784b2df790353e083e0bdbebd2c2
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct kvm_pic {
struct kvm_io_device dev_slave;
struct kvm_io_device dev_eclr;
void (*ack_notifier)(void *opaque, int irq);
unsigned long irq_states[16];
unsigned long irq_states[PIC_NUM_PINS];
};

struct kvm_pic *kvm_create_pic(struct kvm *kvm);
Expand Down
4 changes: 2 additions & 2 deletions trunk/virt/kvm/irq_comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ static int setup_routing_entry(struct kvm_irq_routing_table *rt,
switch (ue->u.irqchip.irqchip) {
case KVM_IRQCHIP_PIC_MASTER:
e->set = kvm_set_pic_irq;
max_pin = 16;
max_pin = PIC_NUM_PINS;
break;
case KVM_IRQCHIP_PIC_SLAVE:
e->set = kvm_set_pic_irq;
max_pin = 16;
max_pin = PIC_NUM_PINS;
delta = 8;
break;
case KVM_IRQCHIP_IOAPIC:
Expand Down

0 comments on commit d742493

Please sign in to comment.