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: remove redundant atomic API description
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
arch
/
ppc_64
/
rte_cycles.h
diff --git
a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
index
e663c48
..
8fa6fc6
100644
(file)
--- a/
lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
+++ b/
lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
@@
-39,6
+39,9
@@
extern "C" {
#include "generic/rte_cycles.h"
+#include <rte_byteorder.h>
+#include <rte_common.h>
+
/**
* Read the time base register.
*
@@
-50,6
+53,7
@@
rte_rdtsc(void)
{
union {
uint64_t tsc_64;
+ RTE_STD_C11
struct {
#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
uint32_t hi_32;