aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/irqdesc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/irqdesc.c')
-rw-r--r--kernel/irq/irqdesc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index 4eea48b4f576..6312a2c83971 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -205,6 +205,8 @@ static void free_desc(unsigned int irq)
205 struct irq_desc *desc = irq_to_desc(irq); 205 struct irq_desc *desc = irq_to_desc(irq);
206 unsigned long flags; 206 unsigned long flags;
207 207
208 unregister_irq_proc(irq, desc);
209
208 raw_spin_lock_irqsave(&sparse_irq_lock, flags); 210 raw_spin_lock_irqsave(&sparse_irq_lock, flags);
209 delete_irq_desc(irq); 211 delete_irq_desc(irq);
210 raw_spin_unlock_irqrestore(&sparse_irq_lock, flags); 212 raw_spin_unlock_irqrestore(&sparse_irq_lock, flags);