unified spinlock initialization
include/linux/wait.h 2005-03-11 19:29:44.381918880 +0530
Quoted 8 lines · Amit Gud
Unify the spinlock initialization as far as possible.
Do consider applying.
Signed-off-by Amit Gud <[email protected]>include/linux/wait.h 2005-03-11 19:29:44.381918880 +0530 renamed from kernels/linux-2.6.11/include/linux/wait.h 2005-03-10 12:03:31.000000000 +0530 +0
-0
This patch cannot be applied with -p1
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/3 unified spinlock initialization
Hi,
Unify the spinlock initialization as far as possible.
Do consider applying.
--- ../kernels/linux-2.6.11/include/linux/wait.h 2005-03-10
12:03:31.000000000 +0530
+++ kj-2.6.11/include/linux/wait.h 2005-03-11 19:29:44.381918880 +0530
@@ -79,7 +79,7 @@ typedef struct __wait_queue_head wait_qu
static inline void init_waitqueue_head(wait_queue_head_t *q) {
- q->lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&q->lock);
INIT_LIST_HEAD(&q->task_list);}
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors