All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milind Arun Choudhary <milindchoudhary@gmail.com>
To: kernel-janitors@lists.osdl.org
Cc: linux1394-devel@lists.sourceforge.net, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org, bcollins@debian.org,
	stefanr@s5r6.in-berlin.de
Subject: [KJ] [PATCH]SPIN_LOCK_UNLOCKED cleanup in
Date: Wed, 11 Apr 2007 17:55:26 +0000	[thread overview]
Message-ID: <20070411175434.GA9110@arun.site> (raw)

SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead 

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---

 ieee1394_transactions.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c
index 0833fc9..8563077 100644
--- a/drivers/ieee1394/ieee1394_transactions.c
+++ b/drivers/ieee1394/ieee1394_transactions.c
@@ -32,7 +32,7 @@
 #ifndef HPSB_DEBUG_TLABELS
 static
 #endif
-spinlock_t hpsb_tlabel_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(hpsb_tlabel_lock);
 
 static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq);
 
-- 
Milind Arun Choudhary
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

WARNING: multiple messages have this Message-ID (diff)
From: Milind Arun Choudhary <milindchoudhary@gmail.com>
To: kernel-janitors@lists.osdl.org
Cc: linux1394-devel@lists.sourceforge.net, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org, bcollins@debian.org,
	stefanr@s5r6.in-berlin.de
Subject: [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in
Date: Wed, 11 Apr 2007 23:24:34 +0530	[thread overview]
Message-ID: <20070411175434.GA9110@arun.site> (raw)

SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead 

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---

 ieee1394_transactions.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c
index 0833fc9..8563077 100644
--- a/drivers/ieee1394/ieee1394_transactions.c
+++ b/drivers/ieee1394/ieee1394_transactions.c
@@ -32,7 +32,7 @@
 #ifndef HPSB_DEBUG_TLABELS
 static
 #endif
-spinlock_t hpsb_tlabel_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(hpsb_tlabel_lock);
 
 static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq);
 
-- 
Milind Arun Choudhary

             reply	other threads:[~2007-04-11 17:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-11 17:54 Milind Arun Choudhary [this message]
2007-04-11 17:55 ` [KJ] [PATCH]SPIN_LOCK_UNLOCKED cleanup in Milind Arun Choudhary
2007-04-11 20:45 ` Stefan Richter
2007-04-11 20:45   ` [KJ][PATCH]SPIN_LOCK_UNLOCKED " Stefan Richter
  -- strict thread matches above, loose matches on Subject: below --
2007-04-18 16:52 [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/m68k Milind Arun Choudhary
2007-04-18 16:59 ` [KJ] [PATCH]SPIN_LOCK_UNLOCKED " Milind Arun Choudhary
2007-04-11 18:24 [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/powerpc Milind Arun Choudhary
2007-04-11 18:36 ` [KJ] [PATCH]SPIN_LOCK_UNLOCKED " Milind Arun Choudhary
2007-04-11 18:24 ` [KJ][PATCH]SPIN_LOCK_UNLOCKED " Milind Arun Choudhary
2007-04-11 15:40 [KJ] [PATCH] SPIN_LOCK_UNLOCKED cleanup in Milind Arun Choudhary
2007-04-11 15:38 ` Alan Cox
2007-04-11 15:44 ` Jan Engelhardt

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=20070411175434.GA9110@arun.site \
    --to=milindchoudhary@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=bcollins@debian.org \
    --cc=kernel-janitors@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=stefanr@s5r6.in-berlin.de \
    /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.