diff options
author | peterz@infradead.org <peterz@infradead.org> | 2020-09-15 17:30:28 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-09-16 17:26:58 +0300 |
commit | 267580db047ef428a70bef8287ca62c5a450c139 (patch) | |
tree | e82fe95658aad5dbe504aef2523042e335b6073a /include/linux/scx200.h | |
parent | 1909760f5fc3f123e47b4e24e0ccdc0fc8f3f106 (diff) | |
download | linux-267580db047ef428a70bef8287ca62c5a450c139.tar.xz |
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 'include/linux/scx200.h')
0 files changed, 0 insertions, 0 deletions