diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-06 10:53:52 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-06 10:53:52 -0500 |
| commit | 15f043a65f655eb8a3aeb831a85da66de520c80f (patch) | |
| tree | 00f5dbc80796a41ef60320a52faeb68aa5755830 /include | |
| parent | 8c717b72dec32a50666175b62b41de24e4b39be7 (diff) | |
| parent | f07fdec50a13f134ea9608c8fb3f6408c58ef55e (diff) | |
Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
lockdep/waitqueues: Add better annotation
lockdep, bug: Exclude TAINT_OOT_MODULE from disabling lock debugging
lockdep: Print lock name in lockdep_init_error()
init/main.c: Execute lockdep_init() as early as possible
lockdep, kmemcheck: Annotate ->lock in lockdep_init_map()
lockdep, rtmutex, bug: Show taint flags on error
lockdep, bug: Exclude TAINT_FIRMWARE_WORKAROUND from disabling lockdep
lockdep: Always try to set ->class_cache in register_lock_class() lockdep_init_map()
Diffstat (limited to 'include')
| -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; | |||
| 77 | #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ | 77 | #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ |
| 78 | { .flags = word, .bit_nr = bit, } | 78 | { .flags = word, .bit_nr = bit, } |
| 79 | 79 | ||
| 80 | extern void __init_waitqueue_head(wait_queue_head_t *q, struct lock_class_key *); | 80 | extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *); |
| 81 | 81 | ||
| 82 | #define init_waitqueue_head(q) \ | 82 | #define init_waitqueue_head(q) \ |
| 83 | do { \ | 83 | do { \ |
| 84 | static struct lock_class_key __key; \ | 84 | static struct lock_class_key __key; \ |
| 85 | \ | 85 | \ |
| 86 | __init_waitqueue_head((q), &__key); \ | 86 | __init_waitqueue_head((q), #q, &__key); \ |
| 87 | } while (0) | 87 | } while (0) |
| 88 | 88 | ||
| 89 | #ifdef CONFIG_LOCKDEP | 89 | #ifdef CONFIG_LOCKDEP |
