|
@@ -77,13 +77,13 @@ struct task_struct;
|
|
#define __WAIT_BIT_KEY_INITIALIZER(word, bit) \
|
|
#define __WAIT_BIT_KEY_INITIALIZER(word, bit) \
|
|
{ .flags = word, .bit_nr = 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) \
|
|
#define init_waitqueue_head(q) \
|
|
do { \
|
|
do { \
|
|
static struct lock_class_key __key; \
|
|
static struct lock_class_key __key; \
|
|
\
|
|
\
|
|
- __init_waitqueue_head((q), &__key); \
|
|
|
|
|
|
+ __init_waitqueue_head((q), #q, &__key); \
|
|
} while (0)
|
|
} while (0)
|
|
|
|
|
|
#ifdef CONFIG_LOCKDEP
|
|
#ifdef CONFIG_LOCKDEP
|