diff options
Diffstat (limited to 'include/linux/wait.h')
| -rw-r--r-- | include/linux/wait.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h index 3efc9f3f43a0..a9ce45e8501c 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -77,13 +77,13 @@ struct task_struct;  #define __WAIT_BIT_KEY_INITIALIZER(word, bit)				\  	{ .flags = word, .bit_nr = bit, } -extern void __init_waitqueue_head(wait_queue_head_t *q, struct lock_class_key *); +extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *);  #define init_waitqueue_head(q)				\  	do {						\  		static struct lock_class_key __key;	\  							\ -		__init_waitqueue_head((q), &__key);	\ +		__init_waitqueue_head((q), #q, &__key);	\  	} while (0)  #ifdef CONFIG_LOCKDEP  |