diff options
Diffstat (limited to 'kernel/wait.c')
-rw-r--r-- | kernel/wait.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/wait.c b/kernel/wait.c index 791681cfea98..a1d57aeb7f75 100644 --- a/kernel/wait.c +++ b/kernel/wait.c | |||
@@ -3,7 +3,6 @@ | |||
3 | * | 3 | * |
4 | * (C) 2004 William Irwin, Oracle | 4 | * (C) 2004 William Irwin, Oracle |
5 | */ | 5 | */ |
6 | #include <linux/config.h> | ||
7 | #include <linux/init.h> | 6 | #include <linux/init.h> |
8 | #include <linux/module.h> | 7 | #include <linux/module.h> |
9 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
@@ -11,6 +10,10 @@ | |||
11 | #include <linux/wait.h> | 10 | #include <linux/wait.h> |
12 | #include <linux/hash.h> | 11 | #include <linux/hash.h> |
13 | 12 | ||
13 | struct lock_class_key waitqueue_lock_key; | ||
14 | |||
15 | EXPORT_SYMBOL(waitqueue_lock_key); | ||
16 | |||
14 | void fastcall add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait) | 17 | void fastcall add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait) |
15 | { | 18 | { |
16 | unsigned long flags; | 19 | unsigned long flags; |