Skip to content
Commit 267580db authored by peterz@infradead.org's avatar peterz@infradead.org Committed by Peter Zijlstra
Browse files

seqlock: Unbreak lockdep



seqcount_LOCKNAME_init() needs to be a macro due to the lockdep
annotation in seqcount_init(). Since a macro cannot define another
macro, we need to effectively revert commit: e4e9ab3f ("seqlock:
Fold seqcount_LOCKNAME_init() definition").

Fixes: e4e9ab3f ("seqlock: Fold seqcount_LOCKNAME_init() definition")
Reported-by: default avatarQian Cai <cai@redhat.com>
Debugged-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: default avatarQian Cai <cai@redhat.com>
Link: https://lkml.kernel.org/r/20200915143028.GB2674@hirez.programming.kicks-ass.net
parent 1909760f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment