Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349800
b: refs/heads/master
c: 4930521
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney committed Jan 8, 2013
1 parent 61e95dc commit 0b1d7d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bdc2b7d243dc8b9aadfc8002a69cf911e9e3e72
refs/heads/master: 4930521ae10fd28ebc713107fd243c8044a95415
4 changes: 4 additions & 0 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2938,6 +2938,10 @@ static void __init rcu_init_one(struct rcu_state *rsp,

BUILD_BUG_ON(MAX_RCU_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */

/* Silence gcc 4.8 warning about array index out of range. */
if (rcu_num_lvls > RCU_NUM_LVLS)
panic("rcu_init_one: rcu_num_lvls overflow");

/* Initialize the level-tracking arrays. */

for (i = 0; i < rcu_num_lvls; i++)
Expand Down

0 comments on commit 0b1d7d3

Please sign in to comment.