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
/
ax25
/
af_ax25.c
diff --git
a/net/ax25/af_ax25.c
b/net/ax25/af_ax25.c
index
2ff9b6f
..
974d029
100644
(file)
--- a/
net/ax25/af_ax25.c
+++ b/
net/ax25/af_ax25.c
@@
-52,7
+52,7
@@
HLIST_HEAD(ax25_list);
HLIST_HEAD(ax25_list);
-
spinlock_t ax25_list_lock = SPIN_LOCK_UNLOCKED
;
+
DEFINE_SPINLOCK(ax25_list_lock)
;
static struct proto_ops ax25_proto_ops;
static struct proto_ops ax25_proto_ops;
@@
-763,7
+763,7
@@
out:
return res;
}
return res;
}
-int ax25_create(struct socket *sock, int protocol)
+
static
int ax25_create(struct socket *sock, int protocol)
{
struct sock *sk;
ax25_cb *ax25;
{
struct sock *sk;
ax25_cb *ax25;