From: Robert P. J. Day Date: Tue, 18 Mar 2008 07:59:23 +0000 (-0700) Subject: [NET]: Add debugging names to __RW_LOCK_UNLOCKED macros. X-Git-Tag: v2.6.26-rc1~1138^2~414 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=938b93adb2642885e688390396472d22a7548748;p=linux-2.6-omap-h63xx.git [NET]: Add debugging names to __RW_LOCK_UNLOCKED macros. Signed-off-by: Robert P. J. Day Signed-off-by: David S. Miller --- diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index a3002fe65b7..e10ef6c2202 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -81,7 +81,7 @@ #include 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) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 8897ccf8086..d6afa021675 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -62,7 +62,7 @@ #include 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)