summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/inc_not_zero
blob: 1fcef1e55bc9711ab3d3ce337e4bd808996c890b (plain)
1
2
3
cat <<EOF
	return raw_${atomic}_add_unless(v, 1, 0);
EOF