diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-05-10 13:28:45 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-05-11 15:26:17 -0700 |
commit | f76d598ca09b52ce4b3dd2fd676f11f86c82c9ac (patch) | |
tree | a01590cda48626b44c75102875d7edf072249316 /scripts | |
parent | be38c49877303afcd1c7f61795b72e683d8550dd (diff) | |
download | linux-next-f76d598ca09b52ce4b3dd2fd676f11f86c82c9ac.tar.gz |
locking/atomic: Add ordering to arch_atomic*_add_negative*() kernel-doc
The arch_atomic*_add_negative*() kernel-doc says nothing about ordering,
so add a specification of the ordering that 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')
-rwxr-xr-x | scripts/atomic/fallbacks/add_negative | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/add_negative b/scripts/atomic/fallbacks/add_negative index b105fdfe8fd1..8fa9098f35af 100755 --- a/scripts/atomic/fallbacks/add_negative +++ b/scripts/atomic/fallbacks/add_negative @@ -6,8 +6,9 @@ cat <<EOF * @i: integer value to add * @v: pointer of type ${atomic}_t * - * Atomically adds @i to @v and returns @true if the result is negative, - * or @false when the result is greater than or equal to zero. + * Atomically adds @i to @v with ${docbook_order} ordering. + * Returns @true if the result is negative, or @false when the result + * is greater than or equal to zero. */ EOF fi |