| From bf7131c19aa19192d5d8a6259f8f05d01aaedad3 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> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| --- |
| kernel/irq/spurious.c | 4 ++-- |
| 1 files changed, 2 insertions(+), 2 deletions(-) |
| |
| 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.0.4 |
| |