ia64/xen-unstable

changeset 16443:fb7b96a980f6

[Mini-OS] Fix init_waitqueue_entry

Fix initialization of thread_list in init_waitqueue_entry().

Signed-off-by: Samuel Thibault <samuel.thibault@xensource.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Nov 24 13:27:32 2007 +0000 (2007-11-24)
parents ebb61551565b
children 2fd1ead7fdf5
files extras/mini-os/include/wait.h
line diff
     1.1 --- a/extras/mini-os/include/wait.h	Sat Nov 24 13:27:08 2007 +0000
     1.2 +++ b/extras/mini-os/include/wait.h	Sat Nov 24 13:27:32 2007 +0000
     1.3 @@ -41,6 +41,7 @@ static inline void init_waitqueue_head(s
     1.4  static inline void init_waitqueue_entry(struct wait_queue *q, struct thread *thread)
     1.5  {
     1.6      q->thread = thread;
     1.7 +    INIT_LIST_HEAD(&q->thread_list);
     1.8  }
     1.9  
    1.10