]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 18 Mar 2008 07:59:23 +0000 (00:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Mar 2008 07:59:23 +0000 (00:59 -0700)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/raw.c
net/ipv6/raw.c

index a3002fe65b7f4a345c1333c4d7f36392bee3b172..e10ef6c2202aac82f868e72b15e828a28afdaca3 100644 (file)
@@ -81,7 +81,7 @@
 #include <linux/netfilter_ipv4.h>
 
 static struct raw_hashinfo raw_v4_hashinfo = {
-       .lock = __RW_LOCK_UNLOCKED(),
+       .lock = __RW_LOCK_UNLOCKED(raw_v4_hashinfo.lock),
 };
 
 void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h)
index 8897ccf8086afacfc643163e89b740cc4a6df13c..d6afa02167599e6b997e219c45603cf6f8cd860c 100644 (file)
@@ -62,7 +62,7 @@
 #include <linux/seq_file.h>
 
 static struct raw_hashinfo raw_v6_hashinfo = {
-       .lock = __RW_LOCK_UNLOCKED(),
+       .lock = __RW_LOCK_UNLOCKED(raw_v6_hashinfo.lock),
 };
 
 static void raw_v6_hash(struct sock *sk)