* Re: [KJ] [PATCH 1/3] unified spinlock initialization
@ 2005-03-11 14:22 Tobias Klauser
2005-03-11 14:26 ` Amit Gud
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2005-03-11 14:22 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
On Fri, Mar 11, 2005 at 07:44:26PM +0530, Amit Gud wrote:
> Unify the spinlock initialization as far as possible.
>
> Do consider applying.
>
> Signed-off-by: Amit Gud <gud@eth.net>
>
> --- ../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
This patch cannot be applied with -p1
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* [KJ] [PATCH 1/3] unified spinlock initialization
2005-03-11 14:22 [KJ] [PATCH 1/3] unified spinlock initialization Tobias Klauser
@ 2005-03-11 14:26 ` Amit Gud
0 siblings, 0 replies; 2+ messages in thread
From: Amit Gud @ 2005-03-11 14:26 UTC (permalink / raw)
To: kernel-janitors
Hi,
Unify the spinlock initialization as far as possible.
Do consider applying.
Signed-off-by: Amit Gud <gud@eth.net>
--- ../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
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-11 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11 14:22 [KJ] [PATCH 1/3] unified spinlock initialization Tobias Klauser
2005-03-11 14:26 ` Amit Gud
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.