git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: switch to architecture specific pause function
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
arch
/
x86
/
rte_spinlock.h
diff --git
a/lib/librte_eal/common/include/arch/x86/rte_spinlock.h
b/lib/librte_eal/common/include/arch/x86/rte_spinlock.h
index
8e630c2
..
5675c2b
100644
(file)
--- a/
lib/librte_eal/common/include/arch/x86/rte_spinlock.h
+++ b/
lib/librte_eal/common/include/arch/x86/rte_spinlock.h
@@
-43,6
+43,7
@@
extern "C" {
#include "rte_cpuflags.h"
#include "rte_branch_prediction.h"
#include "rte_common.h"
+#include "rte_pause.h"
#define RTE_RTM_MAX_RETRIES (10)
#define RTE_XABORT_LOCK_BUSY (0xff)