summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/kerneldoc/try_cmpxchg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/kerneldoc/try_cmpxchg')
-rw-r--r--scripts/atomic/kerneldoc/try_cmpxchg3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/atomic/kerneldoc/try_cmpxchg b/scripts/atomic/kerneldoc/try_cmpxchg
index 296553206c..3ccff29538 100644
--- a/scripts/atomic/kerneldoc/try_cmpxchg
+++ b/scripts/atomic/kerneldoc/try_cmpxchg
@@ -6,7 +6,8 @@ cat <<EOF
* @new: ${int} value to assign
*
* If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
- * Otherwise, updates @old to the current value of @v.
+ * Otherwise, @v is not modified, @old is updated to the current value of @v,
+ * and relaxed ordering is provided.
*
* ${desc_noinstr}
*