diff options
Diffstat (limited to 'kernel/rcu/tree.c')
| -rw-r--r-- | kernel/rcu/tree.c | 21 | 
1 files changed, 4 insertions, 17 deletions
| diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 7226e25ba97f..e53bbc53bcd5 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -124,13 +124,8 @@ module_param(rcu_fanout_exact, bool, 0444); | |||
| 124 | static int rcu_fanout_leaf = RCU_FANOUT_LEAF; | 124 | static int rcu_fanout_leaf = RCU_FANOUT_LEAF; | 
| 125 | module_param(rcu_fanout_leaf, int, 0444); | 125 | module_param(rcu_fanout_leaf, int, 0444); | 
| 126 | int rcu_num_lvls __read_mostly = RCU_NUM_LVLS; | 126 | int rcu_num_lvls __read_mostly = RCU_NUM_LVLS; | 
| 127 | static int num_rcu_lvl[] = { /* Number of rcu_nodes at specified level. */ | 127 | /* Number of rcu_nodes at specified level. */ | 
| 128 | NUM_RCU_LVL_0, | 128 | static int num_rcu_lvl[] = NUM_RCU_LVL_INIT; | 
| 129 | NUM_RCU_LVL_1, | ||
| 130 | NUM_RCU_LVL_2, | ||
| 131 | NUM_RCU_LVL_3, | ||
| 132 | NUM_RCU_LVL_4, | ||
| 133 | }; | ||
| 134 | int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */ | 129 | int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */ | 
| 135 | 130 | ||
| 136 | /* | 131 | /* | 
| @@ -3994,16 +3989,8 @@ static void __init rcu_init_levelspread(int *levelspread, const int *levelcnt) | |||
| 3994 | static void __init rcu_init_one(struct rcu_state *rsp, | 3989 | static void __init rcu_init_one(struct rcu_state *rsp, | 
| 3995 | struct rcu_data __percpu *rda) | 3990 | struct rcu_data __percpu *rda) | 
| 3996 | { | 3991 | { | 
| 3997 | static const char * const buf[] = { | 3992 | static const char * const buf[] = RCU_NODE_NAME_INIT; | 
| 3998 | "rcu_node_0", | 3993 | static const char * const fqs[] = RCU_FQS_NAME_INIT; | 
| 3999 | "rcu_node_1", | ||
| 4000 | "rcu_node_2", | ||
| 4001 | "rcu_node_3" }; | ||
| 4002 | static const char * const fqs[] = { | ||
| 4003 | "rcu_node_fqs_0", | ||
| 4004 | "rcu_node_fqs_1", | ||
| 4005 | "rcu_node_fqs_2", | ||
| 4006 | "rcu_node_fqs_3" }; | ||
| 4007 | static u8 fl_mask = 0x1; | 3994 | static u8 fl_mask = 0x1; | 
| 4008 | 3995 | ||
| 4009 | int levelcnt[RCU_NUM_LVLS]; /* # nodes in each level. */ | 3996 | int levelcnt[RCU_NUM_LVLS]; /* # nodes in each level. */ | 
