Skip to content
Commit 4a07fbb6 authored by Wilco Dijkstra's avatar Wilco Dijkstra
Browse files

Use C11 atomics instead of atomic_decrement_and_test



Replace atomic_decrement_and_test with atomic_fetch_add_relaxed.
These are simple counters which do not protect any shared data from
concurrent accesses. Also remove the unused file cond-perf.c.

Passes regress on AArch64.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent d1babeb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment