aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/irq_comm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c
index 9fbbdea3d1d5..973df997ea60 100644
--- a/virt/kvm/irq_comm.c
+++ b/virt/kvm/irq_comm.c
@@ -58,9 +58,6 @@ void kvm_notify_acked_irq(struct kvm *kvm, unsigned gsi)
58void kvm_register_irq_ack_notifier(struct kvm *kvm, 58void kvm_register_irq_ack_notifier(struct kvm *kvm,
59 struct kvm_irq_ack_notifier *kian) 59 struct kvm_irq_ack_notifier *kian)
60{ 60{
61 /* Must be called with in-kernel IRQ chip, otherwise it's nonsense */
62 ASSERT(irqchip_in_kernel(kvm));
63 ASSERT(kian);
64 hlist_add_head(&kian->link, &kvm->arch.irq_ack_notifier_list); 61 hlist_add_head(&kian->link, &kvm->arch.irq_ack_notifier_list);
65} 62}
66 63