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