linux/scripts/atomic/fallbacks/inc

8 lines
164 B
Plaintext
Executable File

cat <<EOF
static __always_inline ${ret}
${arch}${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
{
${retstmt}${arch}${atomic}_${pfx}add${sfx}${order}(1, v);
}
EOF