1 2 3 4 5 6 7
cat <<EOF static __always_inline bool arch_${atomic}_dec_and_test(${atomic}_t *v) { return arch_${atomic}_dec_return(v) == 0; } EOF