locking/rwsem: Support Clang's context analysis

Add support for Clang's context analysis for rw_semaphore.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251219154418.3592607-18-elver@google.com
This commit is contained in:
Marco Elver 2025-12-19 16:40:06 +01:00 • committed by Peter Zijlstra
commit e4fd3be884
3 changed files with 114 additions and 28 deletions