KVM: ia64: Fix kvm_vm_ioctl_irq_line
authorYang Zhang <yang.z.zhang@Intel.com>
Wed, 17 Apr 2013 00:46:41 +0000 (08:46 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 18 Apr 2013 02:14:45 +0000 (23:14 -0300)
Fix the compile error with kvm_vm_ioctl_irq_line.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/ia64/kvm/kvm-ia64.c

index 7a54455dde39bc1f9493ddced8103714a7374658..032c54d63c3de1470112c7bf1b8fe99856b9ac27 100644 (file)
@@ -924,13 +924,15 @@ int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
        return 0;
 }
 
-int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event)
+int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event,
+               bool line_status)
 {
        if (!irqchip_in_kernel(kvm))
                return -ENXIO;
 
        irq_event->status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID,
-                                       irq_event->irq, irq_event->level);
+                                       irq_event->irq, irq_event->level,
+                                       line_status);
        return 0;
 }