Message ID | 1348166900-18716-23-git-send-email-paulmck@linux.vnet.ibm.com |
---|---|
State | Accepted |
Commit | b17c7035f37f47c7f7cb08a5555ab2aebfa31f91 |
Headers | show |
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 5068e51..52b24c0 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -2819,7 +2819,8 @@ static void __init rcu_init_geometry(void) int rcu_capacity[MAX_RCU_LVLS + 1]; /* If the compile-time values are accurate, just leave. */ - if (rcu_fanout_leaf == CONFIG_RCU_FANOUT_LEAF) + if (rcu_fanout_leaf == CONFIG_RCU_FANOUT_LEAF && + nr_cpu_ids == NR_CPUS) return; /*