linux-zen-server/scripts/atomic/fallbacks/inc

8 lines
160 B
Plaintext
Raw Normal View History

2023-08-30 17:53:23 +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