ia64/xen-unstable

changeset 17876:8a0656950b1c

minios: fix declaration after code

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 18 09:35:06 2008 +0100 (2008-06-18)
parents f838d60e7d8d
children c8d9ade45781
files extras/mini-os/include/wait.h
line diff
     1.1 --- a/extras/mini-os/include/wait.h	Wed Jun 18 09:34:26 2008 +0100
     1.2 +++ b/extras/mini-os/include/wait.h	Wed Jun 18 09:35:06 2008 +0100
     1.3 @@ -87,9 +87,9 @@ static inline void wake_up(struct wait_q
     1.4  
     1.5  #define wait_event_deadline(wq, condition, deadline) do {       \
     1.6      unsigned long flags;                                        \
     1.7 +    DEFINE_WAIT(__wait);                                        \
     1.8      if(condition)                                               \
     1.9          break;                                                  \
    1.10 -    DEFINE_WAIT(__wait);                                        \
    1.11      for(;;)                                                     \
    1.12      {                                                           \
    1.13          /* protect the list */                                  \