OpenCloudOS-Kernel/scripts/atomic/fallbacks/dec

8 lines
160 B
Plaintext
Executable File

cat <<EOF
static __always_inline ${ret}
arch_${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
{
${retstmt}arch_${atomic}_${pfx}sub${sfx}${order}(1, v);
}
EOF