diff options
Diffstat (limited to 'scripts/atomic/kerneldoc/read')
-rw-r--r-- | scripts/atomic/kerneldoc/read | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/atomic/kerneldoc/read b/scripts/atomic/kerneldoc/read new file mode 100644 index 0000000000..89fe6147c9 --- /dev/null +++ b/scripts/atomic/kerneldoc/read @@ -0,0 +1,12 @@ +cat <<EOF +/** + * ${class}${atomicname}() - atomic load with ${desc_order} ordering + * @v: pointer to ${atomic}_t + * + * Atomically loads the value of @v with ${desc_order} ordering. + * + * ${desc_noinstr} + * + * Return: The value loaded from @v. + */ +EOF |