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