projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f190055
)
[ECONET]: Use macro for spinlock_t definition.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 4 Jan 2006 21:56:08 +0000
(13:56 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Jan 2006 21:56:08 +0000
(13:56 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/econet/af_econet.c
patch
|
blob
|
history
diff --git
a/net/econet/af_econet.c
b/net/econet/af_econet.c
index 4fc245243ccaf19807bfaf5e9f45feb7f1e6d264..c792994d795257a90aaa87ad33d305db31613dd2 100644
(file)
--- a/
net/econet/af_econet.c
+++ b/
net/econet/af_econet.c
@@
-57,7
+57,7
@@
static struct net_device *net2dev_map[256];
#define EC_PORT_IP 0xd2
#ifdef CONFIG_ECONET_AUNUDP
-static
spinlock_t aun_queue_lock
;
+static
DEFINE_SPINLOCK(aun_queue_lock)
;
static struct socket *udpsock;
#define AUN_PORT 0x8000