提交 81a294c4 编写于 作者: P Paul E. McKenney

rcu: fix _oddness handling of verbose stall warnings

CONFIG_RCU_CPU_STALL_VERBOSE depends on CONFIG_TREE_PREEMPT_RCU, but
rcu_bootup_announce_oddness() complains if CONFIG_RCU_CPU_STALL_VERBOSE
is not set even in the case of CONFIG_TREE_RCU.  This commit therefore
fixes rcu_bootup_announce_oddness() to avoid insisting on impossibilities.
Reported-by: NGuy Martin <gmsoft@tuxicoman.be>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 dd7c4d89
...@@ -57,7 +57,7 @@ static void __init rcu_bootup_announce_oddness(void) ...@@ -57,7 +57,7 @@ static void __init rcu_bootup_announce_oddness(void)
printk(KERN_INFO printk(KERN_INFO
"\tRCU-based detection of stalled CPUs is disabled.\n"); "\tRCU-based detection of stalled CPUs is disabled.\n");
#endif #endif
#ifndef CONFIG_RCU_CPU_STALL_VERBOSE #if defined(CONFIG_TREE_PREEMPT_RCU) && !defined(CONFIG_RCU_CPU_STALL_VERBOSE)
printk(KERN_INFO "\tVerbose stalled-CPUs detection is disabled.\n"); printk(KERN_INFO "\tVerbose stalled-CPUs detection is disabled.\n");
#endif #endif
#if NUM_RCU_LVL_4 != 0 #if NUM_RCU_LVL_4 != 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册