Samuel Thibault
2008-Jun-17 13:35 UTC
[Xen-devel] [PATCH] minios: fix declaration after code
minios: fix declaration after code Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel