All of lore.kernel.org
 help / color / mirror / Atom feed
* Change deprecated SPIN_LOCK_UNLOCKED for static intialization of
@ 2008-05-29 17:57 Pradeep Singh Rautela
  2008-05-29 19:09 ` Pradeep Singh Rautela
  0 siblings, 1 reply; 2+ messages in thread
From: Pradeep Singh Rautela @ 2008-05-29 17:57 UTC (permalink / raw)
  To: kernel-janitors

arm: Replace deprecated SPIN_LOCK_UNLOCKED for static initialization of 
lock to .lock = __SPIN_LOCK_UNLOCKED.

PATCH FOLLOWS

KernelVersion: 2.6.26-rc4

Signed-off-by: Pradeep Singh <rautelap@gmail.com>
---
 arch/arm/kernel/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index 11dcd52..8d3188e 100644
--- a/arch/arm/kernel/irq.c
+++ b/arch/arm/kernel/irq.c
@@ -100,7 +100,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),
 };
 
 /*
-- 
1.5.5.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-29 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 17:57 Change deprecated SPIN_LOCK_UNLOCKED for static intialization of Pradeep Singh Rautela
2008-05-29 19:09 ` Pradeep Singh Rautela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.