Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323528
b: refs/heads/master
c: b17c703
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney committed Sep 23, 2012
1 parent 4352292 commit 1734e84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4dbd6bb38dd1cbfa5cb21e56e51dffc74aa20038
refs/heads/master: b17c7035f37f47c7f7cb08a5555ab2aebfa31f91
3 changes: 2 additions & 1 deletion trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,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;

/*
Expand Down

0 comments on commit 1734e84

Please sign in to comment.