original_kernel/scripts/atomic/fallbacks/inc_not_zero

4 lines
57 B
Plaintext
Executable File

cat <<EOF
return raw_${atomic}_add_unless(v, 1, 0);
EOF