summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/irq.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-01-31 01:21:55 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-01-31 01:21:55 +0100
commit6fd7ad96d6c51ba15479cb74dcb189b666422394 (patch)
tree5a0741ef4cced3bcc949d2a7985911f5c9e30650 /arch/arm/kernel/irq.c
parent08e445bd6a98fa09befe0cf6d67705324f913fc6 (diff)
downloadblackbird-op-linux-6fd7ad96d6c51ba15479cb74dcb189b666422394.tar.gz
blackbird-op-linux-6fd7ad96d6c51ba15479cb74dcb189b666422394.zip
Use __SPIN_LOCK_UNLOCKED to initialize bad_irq_desc.lock
SPIN_LOCK_UNLOCKED is deprecated as lockdep cannot properly work with locks initialized with it. This fix is necessary to compile the linux-rt tree for ARM. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'arch/arm/kernel/irq.c')
-rw-r--r--arch/arm/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index 7141cee1fab7..363db186cb93 100644
--- a/arch/arm/kernel/irq.c
+++ b/arch/arm/kernel/irq.c
@@ -101,7 +101,7 @@ unlock:
/* Handle bad interrupts */
static struct irq_desc bad_irq_desc = {
.handle_irq = handle_bad_irq,
- .lock = SPIN_LOCK_UNLOCKED
+ .lock = __SPIN_LOCK_UNLOCKED(bad_irq_desc.lock),
};
/*
OpenPOWER on IntegriCloud