38 #ifndef included_clib_smp_h 39 #define included_clib_smp_h 44 #if defined (i386) || defined (__x86_64__) 45 #define clib_smp_pause() do { asm volatile ("pause"); } while (0) 46 #elif defined (__aarch64__) || defined (__arm__) 47 #define clib_smp_pause() do { asm volatile ("isb" ::: "memory"); } while (0) 50 #ifndef clib_smp_pause 51 #define clib_smp_pause() do { } while (0) static void os_sched_yield(void)