projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET] ethtool: fix oops by testing correct struct member
[powerpc.git]
/
net
/
tipc
/
user_reg.c
diff --git
a/net/tipc/user_reg.c
b/net/tipc/user_reg.c
index
3f3f933
..
1e3ae57
100644
(file)
--- a/
net/tipc/user_reg.c
+++ b/
net/tipc/user_reg.c
@@
-67,7
+67,7
@@
struct tipc_user {
static struct tipc_user *users = NULL;
static u32 next_free_user = MAX_USERID + 1;
-static
spinlock_t reg_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(reg_lock)
;
/**
* reg_init - create TIPC user registry (but don't activate it)