[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Robert P. J. Day 2008-03-18 00:59:23 -07:00 коммит произвёл David S. Miller
Родитель 577f99c1d0
Коммит 938b93adb2
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -81,7 +81,7 @@
#include <linux/netfilter_ipv4.h> #include <linux/netfilter_ipv4.h>
static struct raw_hashinfo raw_v4_hashinfo = { 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) void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h)

Просмотреть файл

@ -62,7 +62,7 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
static struct raw_hashinfo raw_v6_hashinfo = { 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) static void raw_v6_hash(struct sock *sk)