[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070411175434.GA9110@arun.site>
Date: Wed, 11 Apr 2007 23:24:34 +0530
From: Milind Arun Choudhary <milindchoudhary@...il.com>
To: kernel-janitors@...ts.osdl.org
Cc: linux1394-devel@...ts.sourceforge.net, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, bcollins@...ian.org,
stefanr@...6.in-berlin.de
Subject: [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in
SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@...il.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists