1*ad811070SMark Rutlandif [ -z "${pfx}" ]; then
2*ad811070SMark Rutland	desc_return="Return: @true if @v was updated, @false otherwise."
3*ad811070SMark Rutlandfi
4*ad811070SMark Rutland
5*ad811070SMark Rutlandcat <<EOF
6*ad811070SMark Rutland/**
7*ad811070SMark Rutland * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering
8*ad811070SMark Rutland * @v: pointer to ${atomic}_t
9*ad811070SMark Rutland * @a: ${int} value to add
10*ad811070SMark Rutland * @u: ${int} value to compare with
11*ad811070SMark Rutland *
12*ad811070SMark Rutland * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering.
13*ad811070SMark Rutland *
14*ad811070SMark Rutland * ${desc_noinstr}
15*ad811070SMark Rutland *
16*ad811070SMark Rutland * ${desc_return}
17*ad811070SMark Rutland */
18*ad811070SMark RutlandEOF
19