[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [Mini-OS] Fix init_waitqueue_entry



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195910852 0
# Node ID fb7b96a980f60de93669cfb68b4e9da61ae413e3
# Parent  ebb61551565bc9b76ef5e5a41e5efd5042eb3c4a
[Mini-OS] Fix init_waitqueue_entry

Fix initialization of thread_list in init_waitqueue_entry().

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/include/wait.h |    1 +
 1 files changed, 1 insertion(+)

diff -r ebb61551565b -r fb7b96a980f6 extras/mini-os/include/wait.h
--- a/extras/mini-os/include/wait.h     Sat Nov 24 13:27:08 2007 +0000
+++ b/extras/mini-os/include/wait.h     Sat Nov 24 13:27:32 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.