Skip to content

Commit d56d4a1

Browse files
committed
Merge tag 'locking-urgent-2026-03-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking fix from Ingo Molnar: "Fix a sparse build error regression in <linux/local_lock_internal.h> caused by the locking context-analysis changes" * tag 'locking-urgent-2026-03-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: include/linux/local_lock_internal.h: Make this header file again compatible with sparse
2 parents b5fddfa + 14de155 commit d56d4a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/local_lock_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ do { \
315315

316316
#endif /* CONFIG_PREEMPT_RT */
317317

318-
#if defined(WARN_CONTEXT_ANALYSIS)
318+
#if defined(WARN_CONTEXT_ANALYSIS) && !defined(__CHECKER__)
319319
/*
320320
* Because the compiler only knows about the base per-CPU variable, use this
321321
* helper function to make the compiler think we lock/unlock the @base variable,

0 commit comments

Comments
 (0)