projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e445b
)
Use __SPIN_LOCK_UNLOCKED to initialize bad_irq_desc.lock
author
Uwe Kleine-König
<
[email protected]
>
Sat, 31 Jan 2009 00:21:55 +0000
(
01:21
+0100)
committer
Uwe Kleine-König
<
[email protected]
>
Sat, 31 Jan 2009 00:21:55 +0000
(
01:21
+0100)
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 <
[email protected]
>
Cc: Steven Rostedt <
[email protected]
>
arch/arm/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/irq.c
b/arch/arm/kernel/irq.c
index 7141cee1fab71e8b131d03e0d8e6dbfc043dbb85..363db186cb93334791588db5b2158e6f295c5c54 100644
(file)
--- 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),
};
/*