summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/kerneldoc/sub
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/kerneldoc/sub')
-rw-r--r--scripts/atomic/kerneldoc/sub13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/atomic/kerneldoc/sub b/scripts/atomic/kerneldoc/sub
new file mode 100644
index 0000000000..3ba642d044
--- /dev/null
+++ b/scripts/atomic/kerneldoc/sub
@@ -0,0 +1,13 @@
+cat <<EOF
+/**
+ * ${class}${atomicname}() - atomic subtract with ${desc_order} ordering
+ * @i: ${int} value to subtract
+ * @v: pointer to ${atomic}_t
+ *
+ * Atomically updates @v to (@v - @i) with ${desc_order} ordering.
+ *
+ * ${desc_noinstr}
+ *
+ * ${desc_return}
+ */
+EOF