diff options
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 8b9496fee235..b703989148e4 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -2821,7 +2821,8 @@ static void __init rcu_init_geometry(void) | |||
2821 | int rcu_capacity[MAX_RCU_LVLS + 1]; | 2821 | int rcu_capacity[MAX_RCU_LVLS + 1]; |
2822 | 2822 | ||
2823 | /* If the compile-time values are accurate, just leave. */ | 2823 | /* If the compile-time values are accurate, just leave. */ |
2824 | if (rcu_fanout_leaf == CONFIG_RCU_FANOUT_LEAF) | 2824 | if (rcu_fanout_leaf == CONFIG_RCU_FANOUT_LEAF && |
2825 | nr_cpu_ids == NR_CPUS) | ||
2825 | return; | 2826 | return; |
2826 | 2827 | ||
2827 | /* | 2828 | /* |