|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] [Mini-OS] Fix init_waitqueue_entry
Fix initialization of thread_list in init_waitqueue_entry().
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
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);
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] [Mini-OS] Fix init_waitqueue_entry,
Samuel Thibault <=
|
|
|
|
|