Home | History | Annotate | Download | only in gpxe
      1 #ifndef _GPXE_NULL_NAP_H
      2 #define _GPXE_NULL_NAP_H
      3 
      4 /** @file
      5  *
      6  * Null CPU sleeping
      7  *
      8  */
      9 
     10 FILE_LICENCE ( GPL2_OR_LATER );
     11 
     12 #ifdef NAP_NULL
     13 #define NAP_PREFIX_null
     14 #else
     15 #define NAP_PREFIX_null __null_
     16 #endif
     17 
     18 static inline __always_inline void
     19 NAP_INLINE ( null, cpu_nap ) ( void ) {
     20 	/* Do nothing */
     21 }
     22 
     23 #endif /* _GPXE_NULL_NAP_H */
     24