X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=net%2Frxrpc%2Fkrxtimod.c;h=0d9e9d2f8eed61ec1c22ec11476fd79df5385e79;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=31771577c5bbf80e1532baa80ee296d3f1162402;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/rxrpc/krxtimod.c b/net/rxrpc/krxtimod.c index 31771577c..0d9e9d2f8 100644 --- a/net/rxrpc/krxtimod.c +++ b/net/rxrpc/krxtimod.c @@ -24,7 +24,7 @@ static DECLARE_WAIT_QUEUE_HEAD(krxtimod_sleepq); static int krxtimod_die; static LIST_HEAD(krxtimod_list); -static spinlock_t krxtimod_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(krxtimod_lock); static int krxtimod(void *arg);