locking/local_lock: Support Clang's context analysis

Add support for Clang's context analysis for local_lock_t and
local_trylock_t.

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