Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Imported Upstream version 16.11
[deb_dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
arch
/
x86
/
rte_cycles.h
diff --git
a/lib/librte_eal/common/include/arch/x86/rte_cycles.h
b/lib/librte_eal/common/include/arch/x86/rte_cycles.h
index
6e3c7d8
..
5eb6ce9
100644
(file)
--- a/
lib/librte_eal/common/include/arch/x86/rte_cycles.h
+++ b/
lib/librte_eal/common/include/arch/x86/rte_cycles.h
@@
-75,12
+75,14
@@
extern "C" {
extern int rte_cycles_vmware_tsc_map;
#include <rte_branch_prediction.h>
#endif
+#include <rte_common.h>
static inline uint64_t
rte_rdtsc(void)
{
union {
uint64_t tsc_64;
+ RTE_STD_C11
struct {
uint32_t lo_32;
uint32_t hi_32;