]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
locking: Fix rwlock and spinlock lock context annotations
authorBart Van Assche <bvanassche@acm.org>
Wed, 25 Feb 2026 18:32:41 +0000 (10:32 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 27 Feb 2026 15:40:19 +0000 (16:40 +0100)
commit38e18d825f7281fdc16d3241df5115ce6eaeaf79
treea171794c95fd53189d5461340940adb1b5af4832
parent50214dc4382055352fb1d7b9779550dabf5059e5
locking: Fix rwlock and spinlock lock context annotations

Fix two incorrect rwlock_t lock context annotations. Add the raw_spinlock_t
lock context annotations that are missing.

Fixes: f16a802d402d ("locking/rwlock, spinlock: Support Clang's context analysis")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Marco Elver <elver@google.com>
Link: https://patch.msgid.link/20260225183244.4035378-2-bvanassche@acm.org
include/linux/rwlock.h
include/linux/rwlock_api_smp.h
include/linux/spinlock.h