X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Ftipc%2Fhandler.c;h=ae6ddf00a1aaea8aaaa17d708e4d4eaca4bfe059;hb=f1ff0fdc353ca00ff43b7b039944b8070da22242;hp=966f70a1b60800012c14a09e7377eeea2414c0d0;hpb=cf41f8ac386e8d62122e7e394b4c6b3e3ab30ede;p=karo-tx-linux.git diff --git a/net/tipc/handler.c b/net/tipc/handler.c index 966f70a1b608..ae6ddf00a1aa 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);