summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/kerneldoc/xor
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/kerneldoc/xor')
-rw-r--r--scripts/atomic/kerneldoc/xor13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/atomic/kerneldoc/xor b/scripts/atomic/kerneldoc/xor
new file mode 100644
index 0000000000..8837270f28
--- /dev/null
+++ b/scripts/atomic/kerneldoc/xor
@@ -0,0 +1,13 @@
+cat <<EOF
+/**
+ * ${class}${atomicname}() - atomic bitwise XOR 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