xref: /linux/scripts/atomic/fallbacks/inc (revision 57985788158a5a6b77612e531b9d89bcad06e47c)
1cat <<EOF
2static __always_inline ${ret}
3${arch}${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
4{
5	${retstmt}${arch}${atomic}_${pfx}add${sfx}${order}(1, v);
6}
7EOF
8