diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-21 23:58:57 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-03-03 14:16:31 -0500 |
commit | a3bd2c09adcc80946262fd15e63868de1f0f4963 (patch) | |
tree | 28830961deec0500f5efd366d1dc2fbcc78144fc /kernel | |
parent | ab6f5bd6741af7b157275de299b7b2b96f2df40e (diff) |
rcu: Add boot-up check for non-default CONFIG_RCU_FANOUT_LEAF values
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 81c4d91fa18a..c9225350d3ed 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h | |||
@@ -76,6 +76,9 @@ static void __init rcu_bootup_announce_oddness(void) | |||
76 | pr_info("\tAdditional per-CPU info printed with stalls.\n"); | 76 | pr_info("\tAdditional per-CPU info printed with stalls.\n"); |
77 | if (NUM_RCU_LVL_4 != 0) | 77 | if (NUM_RCU_LVL_4 != 0) |
78 | pr_info("\tFour-level hierarchy is enabled.\n"); | 78 | pr_info("\tFour-level hierarchy is enabled.\n"); |
79 | if (CONFIG_RCU_FANOUT_LEAF != 16) | ||
80 | pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", | ||
81 | CONFIG_RCU_FANOUT_LEAF); | ||
79 | if (rcu_fanout_leaf != CONFIG_RCU_FANOUT_LEAF) | 82 | if (rcu_fanout_leaf != CONFIG_RCU_FANOUT_LEAF) |
80 | pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", rcu_fanout_leaf); | 83 | pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", rcu_fanout_leaf); |
81 | if (nr_cpu_ids != NR_CPUS) | 84 | if (nr_cpu_ids != NR_CPUS) |