aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index cffde484389..90a944a7fad 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -118,6 +118,10 @@ void enable_irq(unsigned int irq)
118 WARN_ON(1); 118 WARN_ON(1);
119 break; 119 break;
120 case 1: { 120 case 1: {
121 unsigned int status = desc->status & ~IRQ_DISABLED;
122
123 /* Prevent probing on this irq: */
124 desc->status = status | IRQ_NOPROBE;
121 check_irq_resend(desc, irq); 125 check_irq_resend(desc, irq);
122 /* fall-through */ 126 /* fall-through */
123 } 127 }