1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2017 Cavium, Inc 3 */ 4 5 #ifndef _RTE_PAUSE_X86_H_ 6 #define _RTE_PAUSE_X86_H_ 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 #include "generic/rte_pause.h" 13 14 #include <emmintrin.h> rte_pause(void)15static inline void rte_pause(void) 16 { 17 _mm_pause(); 18 } 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif /* _RTE_PAUSE_X86_H_ */ 25