eal/arm: check support of armv8.1 atomics
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 2 Mar 2016 13:20:59 +0000 (18:50 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 5 Mar 2016 18:46:50 +0000 (19:46 +0100)
commit716bf8208039d0a4279c99e8caa1ed028a63bbd2
tree5ddcdeec39c6344c5d884c23439a51957085c62c
parentf9f7c949ff54bfba44e8b2f0d586d756c74c3e87
eal/arm: check support of armv8.1 atomics

armv8.1 adds support for new atomic instructions.
Linux kernel v4.3 onwards, the presence of atomic instruction
support can detect through HWCAP_ATOMICS

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
app/test/test_cpuflags.c
lib/librte_eal/common/arch/arm/rte_cpuflags.c
lib/librte_eal/common/include/arch/arm/rte_cpuflags_64.h