summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/xchg
blob: e4def1e0d092676b105d7c8af8bd2228a6785269 (plain)
1
2
3
cat <<EOF
	return raw_xchg${order}(&v->counter, new);
EOF