projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcutorture: style cleanup: avoid != NULL in boolean tests
[powerpc.git]
/
kernel
/
wait.c
diff --git
a/kernel/wait.c
b/kernel/wait.c
index
a1d57ae
..
59a82f6
100644
(file)
--- a/
kernel/wait.c
+++ b/
kernel/wait.c
@@
-10,9
+10,13
@@
#include <linux/wait.h>
#include <linux/hash.h>
#include <linux/wait.h>
#include <linux/hash.h>
-struct lock_class_key waitqueue_lock_key;
+void init_waitqueue_head(wait_queue_head_t *q)
+{
+ spin_lock_init(&q->lock);
+ INIT_LIST_HEAD(&q->task_list);
+}
-EXPORT_SYMBOL(
waitqueue_lock_key
);
+EXPORT_SYMBOL(
init_waitqueue_head
);
void fastcall add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait)
{
void fastcall add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait)
{