linux/scripts/atomic/fallbacks/cmpxchg

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