linuxdebug/scripts/atomic/fallbacks/inc

8 lines
160 B
Plaintext
Raw Permalink Normal View History

2024-07-16 15:50:57 +02:00
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