KVM: ARM: Fix kvm_vm_ioctl_irq_line
Subsystems (2)
PATCH 1/1 KVM: ARM: Fix kvm_vm_ioctl_irq_line
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 <[email protected]>
--- arch/arm/kvm/arm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/kvm/arm.c +2 -1
@@ -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;
Signature · 1 line
1.6.0.2
Quoted 26 lines · Alexander Graf
Commit
aa2fbe6dbroke 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 <[email protected]>--- arch/arm/kvm/arm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)arch/arm/kvm/arm.c +2
-2@@ -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; --
Quoted 2 lines
1.6.0.2
Acked-by Christoffer Dall <[email protected]>
Marcelo Tosatti
AppliedQuoted 20 lines · Christoffer Dall
Quoted 19 lines · Alexander Graf
Commit
aa2fbe6dbroke 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 <[email protected]>--- arch/arm/kvm/arm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)arch/arm/kvm/arm.c +0
-0@@ -805,7 +805,8 @@ static int vcpu_interrupt_line(struct kvm_vcpu *vcpu, int number, bool level)return 0 ; }
Quoted 11 lines
Quoted 9 lines
arch/arm/kvm/arm.c +2
-2-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; --1.6.0.2
Acked-by Christoffer Dall <[email protected]>
Applied, thanks.