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