eal/ppc: fix cpu cycle count for little endian
authorChao Zhu <chaozhu@linux.vnet.ibm.com>
Mon, 3 Aug 2015 07:16:18 +0000 (15:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 10:43:01 +0000 (12:43 +0200)
commitce10b21bf624303fa2c4a5689edaf1b4bf62e186
tree6452629b7b9328170fca3eb8d294bd932d3a2a8c
parent5668a2b58e11a3cfa7c66786f463d71a7f84edce
eal/ppc: fix cpu cycle count for little endian

On IBM POWER8 PPC64 little endian architecture, the definition of tsc
union will be different. This patch fix this to enable the right output
from rte_rdtsc().

Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h