| 14 | #include "generic/rte_pause.h" |
| 15 | |
| 16 | static inline void rte_pause(void) |
| 17 | { |
| 18 | /* Set hardware multi-threading low priority */ |
| 19 | asm volatile("or 1,1,1"); |
| 20 | /* Set hardware multi-threading medium priority */ |
| 21 | asm volatile("or 2,2,2"); |
| 22 | rte_compiler_barrier(); |
| 23 | } |
| 24 | |
| 25 | #ifdef __cplusplus |
| 26 | } |
no outgoing calls