aboutsummaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/inc
blob: 3c2c3739169e51a514035b968365a35490687937 (plain)
1
2
3
4
5
6
7
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