All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [Mini-OS] Fix init_waitqueue_entry
@ 2007-11-23 16:56 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2007-11-23 16:56 UTC (permalink / raw)
  To: xen-devel

Fix initialization of thread_list in init_waitqueue_entry().

Signed-off-by: Samuel Thibault <samuel.thibault@xensource.com>

diff -r f2711b7eae95 -r 36bf1e737b87 extras/mini-os/include/wait.h
--- a/extras/mini-os/include/wait.h	Thu Nov 22 19:55:42 2007 +0000
+++ b/extras/mini-os/include/wait.h	Fri Nov 23 13:21:02 2007 +0000
@@ -41,6 +41,7 @@ static inline void init_waitqueue_entry(
 static inline void init_waitqueue_entry(struct wait_queue *q, struct thread *thread)
 {
     q->thread = thread;
+    INIT_LIST_HEAD(&q->thread_list);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-23 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 16:56 [PATCH] [Mini-OS] Fix init_waitqueue_entry Samuel Thibault

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.