linux-zen-desktop/scripts/atomic/fallbacks/cmpxchg

4 lines
66 B
Plaintext

cat <<EOF
return raw_cmpxchg${order}(&v->counter, old, new);
EOF