summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-03-09 15:21:18 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-03-10 09:51:45 +0100
commit4817a52b306136c8b2b2271d8770401441e4cf79 (patch)
tree7b9bcc533db887192bee4e559dc4f4ed6a6a668d /kernel
parentd5b0e0677bfd5efd17c5bbb00156931f0d41cb85 (diff)
seqlock,lockdep: Fix seqcount_latch_init()
seqcount_init() must be a macro in order to preserve the static variable that is used for the lockdep key. Don't then wrap it in an inline function, which destroys that. Luckily there aren't many users of this function, but fix it before it becomes a problem. Fixes: 80793c3471d9 ("seqlock: Introduce seqcount_latch_t") Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/YEeFEbNUVkZaXDp4@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions