diff options
author | Sheng Yang <sheng@linux.intel.com> | 2008-10-20 08:07:10 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 14:51:47 (GMT) |
commit | e19e30effac03f5a005a8e42ed941a2a5dc62654 (patch) | |
tree | a950bd5be65dba2ebe611c88c95af131e71cf191 /virt/kvm/kvm_main.c | |
parent | cc6e462cd54e64858ea25816df87d033229efe56 (diff) | |
download | linux-fsl-qoriq-e19e30effac03f5a005a8e42ed941a2a5dc62654.tar.xz |
KVM: IRQ ACK notifier should be used with in-kernel irqchip
Also remove unnecessary parameter of unregister irq ack notifier.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index a87f45e..4f43abe 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -143,7 +143,7 @@ static void kvm_free_assigned_device(struct kvm *kvm, if (irqchip_in_kernel(kvm) && assigned_dev->irq_requested) free_irq(assigned_dev->host_irq, (void *)assigned_dev); - kvm_unregister_irq_ack_notifier(kvm, &assigned_dev->ack_notifier); + kvm_unregister_irq_ack_notifier(&assigned_dev->ack_notifier); kvm_free_irq_source_id(kvm, assigned_dev->irq_source_id); if (cancel_work_sync(&assigned_dev->interrupt_work)) |