diff options
-rw-r--r-- | drivers/xen/events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 94daed14d474..b6c4f1a6d1e2 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c | |||
@@ -167,6 +167,8 @@ static void xen_irq_info_common_init(struct irq_info *info, | |||
167 | info->cpu = cpu; | 167 | info->cpu = cpu; |
168 | 168 | ||
169 | evtchn_to_irq[evtchn] = irq; | 169 | evtchn_to_irq[evtchn] = irq; |
170 | |||
171 | irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN); | ||
170 | } | 172 | } |
171 | 173 | ||
172 | static void xen_irq_info_evtchn_init(unsigned irq, | 174 | static void xen_irq_info_evtchn_init(unsigned irq, |
@@ -874,7 +876,6 @@ int bind_evtchn_to_irq(unsigned int evtchn) | |||
874 | struct irq_info *info = info_for_irq(irq); | 876 | struct irq_info *info = info_for_irq(irq); |
875 | WARN_ON(info == NULL || info->type != IRQT_EVTCHN); | 877 | WARN_ON(info == NULL || info->type != IRQT_EVTCHN); |
876 | } | 878 | } |
877 | irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN); | ||
878 | 879 | ||
879 | out: | 880 | out: |
880 | mutex_unlock(&irq_mapping_update_lock); | 881 | mutex_unlock(&irq_mapping_update_lock); |