All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pradeep Singh Rautela <rautelap@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Change deprecated SPIN_LOCK_UNLOCKED for static intialization of
Date: Thu, 29 May 2008 19:09:27 +0000	[thread overview]
Message-ID: <20080529185727.GA6516@kernelpanic> (raw)
In-Reply-To: <20080529174502.GA4926@kernelpanic>

Convert deprecated SPIN_LOCK_UNLOCKED for static intialization of lock to .lock = __SPIN_LOCK_UNLOCKED.

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


      reply	other threads:[~2008-05-29 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080529185727.GA6516@kernelpanic \
    --to=rautelap@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.