Commit 8fefc0fb authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: use spin_lock_irqsave instead of open coding it.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent b87daa28
...@@ -54,9 +54,9 @@ static int try_one_irq(int irq, struct irq_desc *desc) ...@@ -54,9 +54,9 @@ static int try_one_irq(int irq, struct irq_desc *desc)
} }
action = action->next; action = action->next;
} }
local_irq_disable();
/* Now clean up the flags */ /* Now clean up the flags */
atomic_spin_lock(&desc->lock); atomic_spin_lock_irq(&desc->lock);
action = desc->action; action = desc->action;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment