| From e57d29ada8b3bdbe76352094d7f67127ddd00585 Mon Sep 17 00:00:00 2001 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Sun, 19 Jul 2009 11:10:50 +0200 |
| Subject: [PATCH] genirq: use spin_lock_irqsave instead of open coding it. |
| |
| commit 8fefc0fb875f65ec701e8c817dd91c1c6788860e in tip. |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c |
| index 89fb90a..4e4a758 100644 |
| --- a/kernel/irq/spurious.c |
| +++ b/kernel/irq/spurious.c |
| @@ -54,9 +54,9 @@ static int try_one_irq(int irq, struct irq_desc *desc) |
| } |
| action = action->next; |
| } |
| - local_irq_disable(); |
| + |
| /* Now clean up the flags */ |
| - raw_spin_lock(&desc->lock); |
| + raw_spin_lock_irq(&desc->lock); |
| action = desc->action; |
| |
| /* |
| -- |
| 1.7.1.1 |
| |