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

[Xen-devel] [PATCH] minios: fix declaration after code



minios: fix declaration after code

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r ea73dfe0413d extras/mini-os/include/wait.h
--- a/extras/mini-os/include/wait.h     Tue Jun 17 14:25:03 2008 +0100
+++ b/extras/mini-os/include/wait.h     Tue Jun 17 14:36:42 2008 +0100
@@ -87,9 +87,9 @@
 
 #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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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