1 #ifndef _IPXE_NULL_NAP_H
2 #define _IPXE_NULL_NAP_H
3 
4 /** @file
5  *
6  * Null CPU sleeping
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
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
NAP_INLINE(null,cpu_nap)19 NAP_INLINE ( null, cpu_nap ) ( void ) {
20 	/* Do nothing */
21 }
22 
23 #endif /* _IPXE_NULL_NAP_H */
24