LingmoOS-kernel/scripts/atomic/fallbacks/cmpxchg

4 lines
66 B
Plaintext
Raw Normal View History

2024-07-18 03:58:23 +00:00
cat <<EOF
return raw_cmpxchg${order}(&v->counter, old, new);
EOF