diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-05-02 16:29:40 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-05-11 15:19:01 -0700 |
commit | 1b714ccc05bf505e73836a5322d7253e0a78bcbf (patch) | |
tree | 261344cec61122bab7fe712585dbe8e5958c4f17 /scripts/atomic | |
parent | ea1b6ad378cc776d61c0a9ea8b8d2e44bd17456b (diff) | |
download | linux-next-1b714ccc05bf505e73836a5322d7253e0a78bcbf.tar.gz |
locking/atomic: Add kernel-doc header for arch_${atomic}_read_acquire
Add kernel-doc header template for arch_${atomic}_read_acquire
function family.
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-x | scripts/atomic/fallbacks/read_acquire | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/atomic/fallbacks/read_acquire b/scripts/atomic/fallbacks/read_acquire index a0ea1d26e6b2..779f40c07018 100755 --- a/scripts/atomic/fallbacks/read_acquire +++ b/scripts/atomic/fallbacks/read_acquire @@ -1,4 +1,11 @@ cat <<EOF +/** + * arch_${atomic}_read_acquire - Atomic load acquire + * @v: pointer of type ${atomic}_t + * + * Atomically load from *@v with acquire ordering, returning the value + * loaded. + */ static __always_inline ${ret} arch_${atomic}_read_acquire(const ${atomic}_t *v) { |