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>
This commit is contained in:
Peter Zijlstra 2026-01-08 11:14:24 +01:00
parent 4d26d4a158
commit a45026cef1

View File

@ -233,6 +233,7 @@ do { \
#else /* !CONFIG_PREEMPT_RT */
#include <linux/sched.h>
#include <linux/spinlock.h>
/*