summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorpeterz@infradead.org <peterz@infradead.org>2020-09-15 16:30:28 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-09-16 16:26:58 +0200
commit267580db047ef428a70bef8287ca62c5a450c139 (patch)
treee82fe95658aad5dbe504aef2523042e335b6073a /kernel/locking
parent1909760f5fc3f123e47b4e24e0ccdc0fc8f3f106 (diff)
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: e4e9ab3f9f91 ("seqlock: Fold seqcount_LOCKNAME_init() definition"). Fixes: e4e9ab3f9f91 ("seqlock: Fold seqcount_LOCKNAME_init() definition") Reported-by: Qian Cai <cai@redhat.com> Debugged-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Qian Cai <cai@redhat.com> Link: https://lkml.kernel.org/r/20200915143028.GB2674@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions