]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - kernel/wait.c
Merge tag 'md-3.3-fixes' of git://neil.brown.name/md
[mirror_ubuntu-bionic-kernel.git] / kernel / wait.c
index 26fa7797f90f9812ce9454fb59619b396c82f499..7fdd9eaca2c3a40ba08955b0cb9be5dd04e88f04 100644 (file)
 #include <linux/wait.h>
 #include <linux/hash.h>
 
-void __init_waitqueue_head(wait_queue_head_t *q, struct lock_class_key *key)
+void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *key)
 {
        spin_lock_init(&q->lock);
-       lockdep_set_class(&q->lock, key);
+       lockdep_set_class_and_name(&q->lock, key, name);
        INIT_LIST_HEAD(&q->task_list);
 }