Jerin Jacob 2acfae37f6 bpf/arm: add atomic-exchange-and-add operation
Implement XADD eBPF instruction using STADD arm64 instruction.
If the given platform does not have atomics support,
use LDXR and STXR pair for critical section instead of STADD.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-10-12 14:20:29 +02:00
..
2019-10-12 14:20:21 +02:00
2019-10-12 14:20:21 +02:00
2019-10-12 14:20:21 +02:00
2019-10-12 14:20:21 +02:00