summaryrefslogtreecommitdiff
path: root/net/dccp/minisocks.c
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-04-26 01:37:44 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-26 01:37:44 -0700
commit4ef8d0aeafda8388dd51f2671b7059192b1e5a5f (patch)
tree47886cdc9f20fb601bdace40a037335ceaa404cb /net/dccp/minisocks.c
parent1c8ea5aee0b16409295d96a5e8984bd902f06a77 (diff)
downloadlinux-3.10-4ef8d0aeafda8388dd51f2671b7059192b1e5a5f.tar.gz
linux-3.10-4ef8d0aeafda8388dd51f2671b7059192b1e5a5f.tar.bz2
linux-3.10-4ef8d0aeafda8388dd51f2671b7059192b1e5a5f.zip
[NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/minisocks.c')
-rw-r--r--net/dccp/minisocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c
index 6d235b3013d..e18e249ac49 100644
--- a/net/dccp/minisocks.c
+++ b/net/dccp/minisocks.c
@@ -27,7 +27,7 @@
struct inet_timewait_death_row dccp_death_row = {
.sysctl_max_tw_buckets = NR_FILE * 2,
.period = DCCP_TIMEWAIT_LEN / INET_TWDR_TWKILL_SLOTS,
- .death_lock = SPIN_LOCK_UNLOCKED,
+ .death_lock = __SPIN_LOCK_UNLOCKED(dccp_death_row.death_lock),
.hashinfo = &dccp_hashinfo,
.tw_timer = TIMER_INITIALIZER(inet_twdr_hangman, 0,
(unsigned long)&dccp_death_row),