locking/mutex: Support Clang's context analysis

Add support for Clang's context analysis for mutex.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251219154418.3592607-11-elver@google.com
This commit is contained in:
Marco Elver 2025-12-19 16:39:59 +01:00 • committed by Peter Zijlstra
commit 370f0a345a
4 changed files with 90 additions and 18 deletions