aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/events.c')
-rw-r--r--drivers/xen/events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 2f57276e87a2..ce602dd09bc1 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -474,6 +474,9 @@ static void unbind_from_irq(unsigned int irq)
474 bind_evtchn_to_cpu(evtchn, 0); 474 bind_evtchn_to_cpu(evtchn, 0);
475 475
476 evtchn_to_irq[evtchn] = -1; 476 evtchn_to_irq[evtchn] = -1;
477 }
478
479 if (irq_info[irq].type != IRQT_UNBOUND) {
477 irq_info[irq] = mk_unbound_info(); 480 irq_info[irq] = mk_unbound_info();
478 481
479 dynamic_irq_cleanup(irq); 482 dynamic_irq_cleanup(irq);