eal/x86: fix redeclaration of registers
authorMichael Qiu <michael.qiu@intel.com>
Thu, 5 Mar 2015 13:57:43 +0000 (21:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 9 Mar 2015 17:07:43 +0000 (18:07 +0100)
commit2eca94d52172c0e6ae32f898649816fc1e563bc7
treef8232b3618f166954b0245126aaceeb10ff6713c
parent2a0911ec8bb64b09c9697a63cf3ea96d78e12e59
eal/x86: fix redeclaration of registers

include/rte_cpuflags.h:154:2: error: redeclaration of enumerator ‘REG_EAX’

In i686, from REG_EAX to REG_EDX are all defined in
/usr/include/sys/ucontext.h

Rename to RTE_REG_EAX to avoid this issue.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/include/arch/x86/rte_cpuflags.h