app/test: restrict x86 cpu flags checks to x86 builds
authorCyril Chemparathy <cchemparathy@ezchip.com>
Thu, 9 Jul 2015 08:25:10 +0000 (16:25 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jul 2015 14:15:37 +0000 (16:15 +0200)
commitf7f500d245ff1a31902491018f8b8375533c26e3
treec0a80aa5f8240089bed08e5b4a007ff6f01342e3
parent11a0c8d2ba1a62a30638344879fae1cd2378b83e
app/test: restrict x86 cpu flags checks to x86 builds

The original code mistakenly defaulted to X86 when RTE_ARCH_PPC_64 was
left undefined.  This did not accommodate other non-PPC/non-X86
architectures.  This patch fixes this issue.

Signed-off-by: Cyril Chemparathy <cchemparathy@ezchip.com>
Signed-off-by: Zhigang Lu <zlu@ezchip.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_cpuflags.c