|
@@ -68,10 +68,6 @@ MODULE_ALIAS("rcutree");
|
|
|
|
|
|
/* Data structures. */
|
|
/* Data structures. */
|
|
|
|
|
|
-static struct lock_class_key rcu_node_class[RCU_NUM_LVLS];
|
|
|
|
-static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS];
|
|
|
|
-static struct lock_class_key rcu_exp_class[RCU_NUM_LVLS];
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* In order to export the rcu_state name to the tracing tools, it
|
|
* In order to export the rcu_state name to the tracing tools, it
|
|
* needs to be added in the __tracepoint_string section.
|
|
* needs to be added in the __tracepoint_string section.
|
|
@@ -4365,6 +4361,9 @@ static void __init rcu_init_one(struct rcu_state *rsp,
|
|
static const char * const buf[] = RCU_NODE_NAME_INIT;
|
|
static const char * const buf[] = RCU_NODE_NAME_INIT;
|
|
static const char * const fqs[] = RCU_FQS_NAME_INIT;
|
|
static const char * const fqs[] = RCU_FQS_NAME_INIT;
|
|
static const char * const exp[] = RCU_EXP_NAME_INIT;
|
|
static const char * const exp[] = RCU_EXP_NAME_INIT;
|
|
|
|
+ static struct lock_class_key rcu_node_class[RCU_NUM_LVLS];
|
|
|
|
+ static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS];
|
|
|
|
+ static struct lock_class_key rcu_exp_class[RCU_NUM_LVLS];
|
|
static u8 fl_mask = 0x1;
|
|
static u8 fl_mask = 0x1;
|
|
|
|
|
|
int levelcnt[RCU_NUM_LVLS]; /* # nodes in each level. */
|
|
int levelcnt[RCU_NUM_LVLS]; /* # nodes in each level. */
|