summaryrefslogtreecommitdiff
path: root/scripts/atomic/kerneldoc/add
blob: 991f3dafceea35d6e6a176d45f3b9dfab74447d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cat <<EOF
/**
 * ${class}${atomicname}() - atomic add with ${desc_order} ordering
 * @i: ${int} value to add
 * @v: pointer to ${atomic}_t
 *
 * Atomically updates @v to (@v + @i) with ${desc_order} ordering.
 *
 * ${desc_noinstr}
 *
 * ${desc_return}
 */
EOF