diff options
Diffstat (limited to 'net/netrom/af_netrom.c')
| -rw-r--r-- | net/netrom/af_netrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 8576b42ce7fa..39223bbf1938 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -60,7 +60,7 @@ int sysctl_netrom_link_fails_count = NR_DEFAULT_FAILS; static unsigned short circuit = 0x101; static HLIST_HEAD(nr_list); -static spinlock_t nr_list_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(nr_list_lock); static struct proto_ops nr_proto_ops; void nr_init_timers(struct sock *sk); |
