summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-08-07 22:55:16 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-08-12 11:17:11 +0200
commit7f5ea4e1329ee637bcc768a6c6c7eba764ebfb5a (patch)
treedd26e6a12bb0eebcef637d8e454634db49deb3fd /arch
parent68718e6f364fbf51398f33d3cf39121ae2756275 (diff)
downloadlwn-7f5ea4e1329ee637bcc768a6c6c7eba764ebfb5a.tar.gz
lwn-7f5ea4e1329ee637bcc768a6c6c7eba764ebfb5a.zip
ARM: Use atomic_spin_lock/atomic_spin_unlock for irqdesc lock
This was missed in commit fd2bde5 (genirq: Convert irqdesc lock to atomic_spinlock) Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> LKML-Reference: <1249678516-8639-1-git-send-email-u.kleine-koenig@pengutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/mach/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h
index acac5302e4ea..3981cf294d40 100644
--- a/arch/arm/include/asm/mach/irq.h
+++ b/arch/arm/include/asm/mach/irq.h
@@ -26,9 +26,9 @@ extern int show_fiq_list(struct seq_file *, void *);
*/
#define do_bad_IRQ(irq,desc) \
do { \
- spin_lock(&desc->lock); \
+ atomic_spin_lock(&desc->lock); \
handle_bad_irq(irq, desc); \
- spin_unlock(&desc->lock); \
+ atomic_spin_unlock(&desc->lock); \
} while(0)
#endif