aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2025-03-25 14:31:45 +0000
committerBoqun Feng <[email protected]>2025-03-29 04:19:17 +0000
commit1dc1e0b9d694eb9016d3105ca4ba8bd90eba888a (patch)
tree755b2ecd8b012191a5e036d897067725228b9dac /scripts/rustdoc_test_gen.rs
parentMerge branches 'docs.2025.02.04a', 'lazypreempt.2025.03.04a', 'misc.2025.03.0... (diff)
downloadkernel-1dc1e0b9d694eb9016d3105ca4ba8bd90eba888a.tar.gz
kernel-1dc1e0b9d694eb9016d3105ca4ba8bd90eba888a.zip
srcu: Make FORCE_NEED_SRCU_NMI_SAFE depend on RCU_EXPERT
The FORCE_NEED_SRCU_NMI_SAFE is useful only for those wishing to test the SRCU code paths that accommodate architectures that do not have NMI-safe per-CPU operations, that is, those architectures that do not select the ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option. As such, this is a specialized Kconfig option that is not intended for casual users. This commit therefore hides it behind the RCU_EXPERT Kconfig option. Given that this new FORCE_NEED_SRCU_NMI_SAFE Kconfig option has no effect unless the ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option is also selected, it also depends on this Kconfig option. [ paulmck: Apply Geert Uytterhoeven feedback. ] [ boqun: Add the "Fixes" tag. ] Reported-by: Geert Uytterhoeven <[email protected]> Closes: https://lore.kernel.org/all/CAMuHMdX6dy9_tmpLkpcnGzxyRbe6qSWYukcPp=H1GzZdyd3qBQ@mail.gmail.com/ Fixes: 536e8b9b80bc ("srcu: Add FORCE_NEED_SRCU_NMI_SAFE Kconfig for testing") Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions