ia64/xen-unstable

changeset 16206:7b5b65fbaf61

minios: xenbus wait fixup
From: Samuel Thibault <samuel.thibault@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Wed Oct 24 14:36:18 2007 +0100 (2007-10-24)
parents b0a7612ae372
children aeebd173c3fa
files extras/mini-os/xenbus/xenbus.c
line diff
     1.1 --- a/extras/mini-os/xenbus/xenbus.c	Wed Oct 24 14:35:19 2007 +0100
     1.2 +++ b/extras/mini-os/xenbus/xenbus.c	Wed Oct 24 14:36:18 2007 +0100
     1.3 @@ -79,6 +79,7 @@ void wait_for_watch(void)
     1.4      schedule();
     1.5      remove_waiter(w);
     1.6      wake(current);
     1.7 +    remove_wait_queue(&w);
     1.8  }
     1.9  
    1.10  char* xenbus_wait_for_value(const char* path,const char* value)