diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/mpic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index b68d0dc9479a..39b3a8f816f2 100644 --- a/arch/powerpc/kvm/mpic.c +++ b/arch/powerpc/kvm/mpic.c | |||
@@ -1826,8 +1826,7 @@ int kvm_set_msi(struct kvm_kernel_irq_routing_entry *e, | |||
1826 | return 0; | 1826 | return 0; |
1827 | } | 1827 | } |
1828 | 1828 | ||
1829 | int kvm_set_routing_entry(struct kvm_irq_routing_table *rt, | 1829 | int kvm_set_routing_entry(struct kvm_kernel_irq_routing_entry *e, |
1830 | struct kvm_kernel_irq_routing_entry *e, | ||
1831 | const struct kvm_irq_routing_entry *ue) | 1830 | const struct kvm_irq_routing_entry *ue) |
1832 | { | 1831 | { |
1833 | int r = -EINVAL; | 1832 | int r = -EINVAL; |
@@ -1839,7 +1838,6 @@ int kvm_set_routing_entry(struct kvm_irq_routing_table *rt, | |||
1839 | e->irqchip.pin = ue->u.irqchip.pin; | 1838 | e->irqchip.pin = ue->u.irqchip.pin; |
1840 | if (e->irqchip.pin >= KVM_IRQCHIP_NUM_PINS) | 1839 | if (e->irqchip.pin >= KVM_IRQCHIP_NUM_PINS) |
1841 | goto out; | 1840 | goto out; |
1842 | rt->chip[ue->u.irqchip.irqchip][e->irqchip.pin] = ue->gsi; | ||
1843 | break; | 1841 | break; |
1844 | case KVM_IRQ_ROUTING_MSI: | 1842 | case KVM_IRQ_ROUTING_MSI: |
1845 | e->set = kvm_set_msi; | 1843 | e->set = kvm_set_msi; |