summaryrefslogtreecommitdiff
path: root/scripts/atomic
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-05-10 13:28:45 -0700
committerPaul E. McKenney <paulmck@kernel.org>2023-05-11 15:25:28 -0700
commitbe38c49877303afcd1c7f61795b72e683d8550dd (patch)
treee30346ebe9ccb28c59483d8d8efca3cd44dd49bd /scripts/atomic
parent527a60ec39c58a811f9832fa4be10a02a133bddd (diff)
downloadlinux-next-be38c49877303afcd1c7f61795b72e683d8550dd.tar.gz
locking/atomic: Add ordering to arch_atomic*_inc_and_test() kernel-doc
The arch_atomic*_inc_and_test() kernel-doc says nothing about ordering, so add the fact that full ordering is provided. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Will Deacon <will@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Mark Rutland <mark.rutland@arm.com>
Diffstat (limited to 'scripts/atomic')
-rwxr-xr-xscripts/atomic/fallbacks/inc_and_test4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/inc_and_test b/scripts/atomic/fallbacks/inc_and_test
index dd74f6a5ca4a..637ddd8d9d32 100755
--- a/scripts/atomic/fallbacks/inc_and_test
+++ b/scripts/atomic/fallbacks/inc_and_test
@@ -5,8 +5,8 @@ cat <<EOF
* arch_${atomic}_inc_and_test - increment and test
* @v: pointer of type ${atomic}_t
*
- * Atomically increments @v by 1
- * and returns @true if the result is zero, or @false for all
+ * Atomically increments @v by 1 with full ordering.
+ * Returns @true if the result is zero, or @false for all
* other cases.
*/
EOF