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

[Xen-changelog] [xen-unstable] minios: fix declaration after code



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213778106 -3600
# Node ID 8a0656950b1c2b2c91c282561a911379cc397bef
# Parent  f838d60e7d8d5ec3aeb3c35f073a0764520e9ce3
minios: fix declaration after code

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

diff -r f838d60e7d8d -r 8a0656950b1c extras/mini-os/include/wait.h
--- a/extras/mini-os/include/wait.h     Wed Jun 18 09:34:26 2008 +0100
+++ b/extras/mini-os/include/wait.h     Wed Jun 18 09:35:06 2008 +0100
@@ -87,9 +87,9 @@ static inline void wake_up(struct wait_q
 
 #define wait_event_deadline(wq, condition, deadline) do {       \
     unsigned long flags;                                        \
+    DEFINE_WAIT(__wait);                                        \
     if(condition)                                               \
         break;                                                  \
-    DEFINE_WAIT(__wait);                                        \
     for(;;)                                                     \
     {                                                           \
         /* protect the 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®.