]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
locking/local_lock: Include more missing headers
authorPeter Zijlstra <peterz@infradead.org>
Thu, 8 Jan 2026 10:14:24 +0000 (11:14 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 8 Jan 2026 10:21:57 +0000 (11:21 +0100)
Ingo reported PREEMPT_RT=y builds fail building
lib/test_context-analysis.c.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/local_lock_internal.h

index e8c4803d8db48b2074169e9b654fa80d3eeb837d..7843ab9059c2fa7438965146e020d1f4021031ce 100644 (file)
@@ -233,6 +233,7 @@ do {                                                                \
 
 #else /* !CONFIG_PREEMPT_RT */
 
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 
 /*