diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 36bf17dc7bfc9fecd1531061e81215d4ed88aaba..c60d1629c91601f366fef151a7d45f51736b1378 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -842,6 +842,7 @@ int bind_evtchn_to_irq(unsigned int evtchn) struct irq_info *info = info_for_irq(irq); WARN_ON(info == NULL || info->type != IRQT_EVTCHN); } + irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN); out: mutex_unlock(&irq_mapping_update_lock);