summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-03-22 19:57:20 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2026-03-22 19:57:20 +0300
commitd56d4a110f5a1f340710c12a6a8e3ce915824b8e (patch)
treec0708ee368301eae7a36b23937da16fed41922e7 /include/linux
parentb5fddfad34829771c2d06ed43fea35b5e30bd1c9 (diff)
parent14de1552a4e3fece78bb20314887e70888c9d448 (diff)
downloadlinux-d56d4a110f5a1f340710c12a6a8e3ce915824b8e.tar.xz
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
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/local_lock_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/local_lock_internal.h b/include/linux/local_lock_internal.h
index eff711bf973f..234be7f12c15 100644
--- a/include/linux/local_lock_internal.h
+++ b/include/linux/local_lock_internal.h
@@ -315,7 +315,7 @@ do { \
#endif /* CONFIG_PREEMPT_RT */
-#if defined(WARN_CONTEXT_ANALYSIS)
+#if defined(WARN_CONTEXT_ANALYSIS) && !defined(__CHECKER__)
/*
* Because the compiler only knows about the base per-CPU variable, use this
* helper function to make the compiler think we lock/unlock the @base variable,