Commit 7f5ea4e1 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thomas Gleixner

ARM: Use atomic_spin_lock/atomic_spin_unlock for irqdesc lock

This was missed in commit fd2bde5d (genirq: Convert irqdesc lock to
atomic_spinlock)
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
LKML-Reference: <1249678516-8639-1-git-send-email-u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 68718e6f
......@@ -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
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