Skip to contentSkip to conversation

SPIN_LOCK_UNLOCKED cleanup in

PATCH In review Milind Arun Choudhary 2 participants 2 messages Apr 11, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SPIN_LOCK_UNLOCKED cleanup in

SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead

---

 ieee1394_transactions.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/ieee1394/ieee1394_transactions.c +1 -1
index 0833fc9..8563077 100644
@@ -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);
 
Signature · 1 line
Milind Arun Choudhary
#1 lore raw
Quoted 1 line · Milind Arun Choudhary

SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead

Committed to linux1394-2.6.git. Thanks,

Signature · 7 lines
Stefan Richter
-===-=-== -=-- -=-=
http://arcgraph.de/sr/
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors