Skip to content

Commit 3c7fd94

Browse files
surenbaghdasaryanakpm00
authored andcommitted
seqlock: add missing parameter documentation for raw_seqcount_try_begin()
Add missing documentation for raw_seqcount_try_begin() start parameter. Link: https://lkml.kernel.org/r/[email protected] Fixes: dba4761 ("seqlock: add raw_seqcount_try_begin") Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Suren Baghdasaryan <[email protected]> Acked-by: Waiman Long <[email protected]> Cc: Boqun Feng <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Liam Howlett <[email protected]> Cc: Peter Zijlstra (Intel) <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 6aeb991 commit 3c7fd94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/seqlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ SEQCOUNT_LOCKNAME(mutex, struct mutex, true, mutex)
322322
* raw_seqcount_try_begin() - begin a seqcount_t read critical section
323323
* w/o lockdep and w/o counter stabilization
324324
* @s: Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants
325+
* @start: count to be passed to read_seqcount_retry()
325326
*
326327
* Similar to raw_seqcount_begin(), except it enables eliding the critical
327328
* section entirely if odd, instead of doing the speculation knowing it will

0 commit comments

Comments
 (0)