eal/arm: add spinlock operations for ARM
authorVlastimil Kosar <kosar@rehivetech.com>
Mon, 2 Nov 2015 23:47:19 +0000 (00:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Nov 2015 21:40:59 +0000 (22:40 +0100)
commit7860c396548382f88d8dea76ed02f7f3b86a9fb6
tree1e2baeeab929e75a6d721532b9ec9cd9845c3de7
parent17d5fa0fa90db8b8d4e3ca9f4f6a75b76094d9f0
eal/arm: add spinlock operations for ARM

This patch adds spinlock operations for ARM architecture.
We do not support HTM in spinlocks on ARM. Setting of the
RTE_FORCE_INTRINSICS=y is required.

Signed-off-by: Vlastimil Kosar <kosar@rehivetech.com>
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/include/arch/arm/rte_spinlock.h [new file with mode: 0644]