X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Ftipc%2Fhandler.c;fp=net%2Ftipc%2Fhandler.c;h=ae6ddf00a1aaea8aaaa17d708e4d4eaca4bfe059;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=966f70a1b60800012c14a09e7377eeea2414c0d0;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/net/tipc/handler.c b/net/tipc/handler.c index 966f70a1b..ae6ddf00a 100644 --- a/net/tipc/handler.c +++ b/net/tipc/handler.c @@ -44,7 +44,7 @@ struct queue_item { static kmem_cache_t *tipc_queue_item_cache; static struct list_head signal_queue_head; -static spinlock_t qitem_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(qitem_lock); static int handler_enabled = 0; static void process_signal_queue(unsigned long dummy);