X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Ftipc%2Fhandler.c;h=eb80778d6d9c6d22781b205a21b139bd4c87f052;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=966f70a1b60800012c14a09e7377eeea2414c0d0;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/net/tipc/handler.c b/net/tipc/handler.c index 966f70a1b..eb80778d6 100644 --- a/net/tipc/handler.c +++ b/net/tipc/handler.c @@ -42,9 +42,9 @@ struct queue_item { unsigned long data; }; -static kmem_cache_t *tipc_queue_item_cache; +static struct kmem_cache *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);