]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/tipc/handler.c
Driver core: add device_type to struct device
[linux-2.6-omap-h63xx.git] / net / tipc / handler.c
index 966f70a1b60800012c14a09e7377eeea2414c0d0..eb80778d6d9c6d22781b205a21b139bd4c87f052 100644 (file)
@@ -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);