git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: Use macro for spinlock_t/rwlock_t initializations/definition.
[pandora-kernel.git]
/
net
/
netfilter
/
nfnetlink_log.c
diff --git
a/net/netfilter/nfnetlink_log.c
b/net/netfilter/nfnetlink_log.c
index
cba6372
..
e10512e
100644
(file)
--- a/
net/netfilter/nfnetlink_log.c
+++ b/
net/netfilter/nfnetlink_log.c
@@
-151,7
+151,7
@@
instance_create(u_int16_t group_num, int pid)
goto out_unlock;
INIT_HLIST_NODE(&inst->hlist);
-
inst->lock = SPIN_LOCK_UNLOCKED
;
+
spin_lock_init(&inst->lock)
;
/* needs to be two, since we _put() after creation */
atomic_set(&inst->use, 2);