KVM: ARM: Fix kvm_vm_ioctl_irq_line
authorAlexander Graf <agraf@suse.de>
Tue, 16 Apr 2013 17:21:41 +0000 (19:21 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 21:16:10 +0000 (18:16 -0300)
Commit aa2fbe6d broke the ARM KVM target by introducing a new parameter
to irq handling functions.

Fix the function prototype to get things compiling again and ignore the
parameter just like we did before

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Christoffer Dall <cdall@cs.columbia.edu>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/arm/kvm/arm.c

index e4ad0bb..678596f 100644 (file)
@@ -805,7 +805,8 @@ static int vcpu_interrupt_line(struct kvm_vcpu *vcpu, int number, bool level)
        return 0;
 }
 
-int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_level)
+int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_level,
+                         bool line_status)
 {
        u32 irq = irq_level->irq;
        unsigned int irq_type, vcpu_idx, irq_num;