diff options
Diffstat (limited to 'scripts/atomic/kerneldoc/inc')
-rw-r--r-- | scripts/atomic/kerneldoc/inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/atomic/kerneldoc/inc b/scripts/atomic/kerneldoc/inc new file mode 100644 index 0000000000..9f14f1b3d2 --- /dev/null +++ b/scripts/atomic/kerneldoc/inc @@ -0,0 +1,12 @@ +cat <<EOF +/** + * ${class}${atomicname}() - atomic increment with ${desc_order} ordering + * @v: pointer to ${atomic}_t + * + * Atomically updates @v to (@v + 1) with ${desc_order} ordering. + * + * ${desc_noinstr} + * + * ${desc_return} + */ +EOF |