aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2022-12-14 19:41:44 +0000
committerPaul E. McKenney <[email protected]>2023-01-04 01:28:34 +0000
commit0cae5ded535c3a80aed94f119bbd4ee3ae284a65 (patch)
treee0a33635c321e56bdfa7bcdefd23d7bcf9fb86fe /drivers/acpi/cppc_acpi.c
parentrcu: Upgrade header comment for poll_state_synchronize_rcu() (diff)
downloadkernel-0cae5ded535c3a80aed94f119bbd4ee3ae284a65.tar.gz
kernel-0cae5ded535c3a80aed94f119bbd4ee3ae284a65.zip
rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
Currently, RCU_LOCKDEP_WARN() checks the condition before checking to see if lockdep is still enabled. This is necessary to avoid the false-positive splats fixed by commit 3066820034b5dd ("rcu: Reject RCU_LOCKDEP_WARN() false positives"). However, the current state can result in false-positive splats during early boot before lockdep is fully initialized. This commit therefore checks debug_lockdep_rcu_enabled() both before and after checking the condition, thus avoiding both sets of false-positive error reports. Reported-by: Steven Rostedt <[email protected]> Reported-by: Masami Hiramatsu (Google) <[email protected]> Reported-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Mathieu Desnoyers <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions