git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
netrom
/
af_netrom.c
diff --git
a/net/netrom/af_netrom.c
b/net/netrom/af_netrom.c
index
62ff798
..
39223bb
100644
(file)
--- a/
net/netrom/af_netrom.c
+++ b/
net/netrom/af_netrom.c
@@
-43,7
+43,7
@@
#include <net/arp.h>
#include <linux/init.h>
#include <net/arp.h>
#include <linux/init.h>
-int nr_ndevs = 4;
+
static
int nr_ndevs = 4;
int sysctl_netrom_default_path_quality = NR_DEFAULT_QUAL;
int sysctl_netrom_obsolescence_count_initialiser = NR_DEFAULT_OBS;
int sysctl_netrom_default_path_quality = NR_DEFAULT_QUAL;
int sysctl_netrom_obsolescence_count_initialiser = NR_DEFAULT_OBS;
@@
-60,7
+60,7
@@
int sysctl_netrom_link_fails_count = NR_DEFAULT_FAILS;
static unsigned short circuit = 0x101;
static HLIST_HEAD(nr_list);
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);
static struct proto_ops nr_proto_ops;
void nr_init_timers(struct sock *sk);