summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/inc
blob: 15ec62946e8ce52f77ea91d36a55ffe0cbec403a (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