diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2026-01-20 10:06:08 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-03-08 11:06:53 +0100 |
| commit | 5c4326231cde36fd5e90c41e403df9fac6238f4b (patch) | |
| tree | e6b52954c69c230674f5e1f2a423d2d248fb65a8 /kernel/locking/mutex.h | |
| parent | 07574b8ebaac7927e2355b4f343b03b50e04494c (diff) | |
| download | linux-5c4326231cde36fd5e90c41e403df9fac6238f4b.tar.gz linux-5c4326231cde36fd5e90c41e403df9fac6238f4b.zip | |
locking/mutex: Add context analysis
Add compiler context analysis annotations.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260121111213.745353747@infradead.org
Diffstat (limited to 'kernel/locking/mutex.h')
| -rw-r--r-- | kernel/locking/mutex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/locking/mutex.h b/kernel/locking/mutex.h index 9ad4da8cea00..b94ef40c1f48 100644 --- a/kernel/locking/mutex.h +++ b/kernel/locking/mutex.h @@ -7,6 +7,7 @@ * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> */ #ifndef CONFIG_PREEMPT_RT +#include <linux/mutex.h> /* * This is the control structure for tasks blocked on mutex, which resides * on the blocked task's kernel stack: |
