mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip: locking/core] locking/local_lock: Include more missing headers
@ 2026-01-08 10:27 tip-bot2 for Peter Zijlstra
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Peter Zijlstra @ 2026-01-08 10:27 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Ingo Molnar, Peter Zijlstra (Intel), x86, linux-kernel

The following commit has been merged into the locking/core branch of tip:

Commit-ID:     a45026cef17d1080c985adf28234d6c8475ad66f
Gitweb:        https://git.kernel.org/tip/a45026cef17d1080c985adf28234d6c8475ad66f
Author:        Peter Zijlstra <peterz@infradead.org>
AuthorDate:    Thu, 08 Jan 2026 11:14:24 +01:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Thu, 08 Jan 2026 11:21:57 +01:00

locking/local_lock: Include more missing headers

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/local_lock_internal.h b/include/linux/local_lock_internal.h
index e8c4803..7843ab9 100644
--- a/include/linux/local_lock_internal.h
+++ b/include/linux/local_lock_internal.h
@@ -233,6 +233,7 @@ do {								\
 
 #else /* !CONFIG_PREEMPT_RT */
 
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 
 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-08 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-08 10:27 [tip: locking/core] locking/local_lock: Include more missing headers tip-bot2 for Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®