|
@@ -122,8 +122,7 @@ extern void srcu_init_notifier_head(struct srcu_notifier_head *nh);
|
|
|
|
|
|
#ifdef CONFIG_TREE_SRCU
|
|
#ifdef CONFIG_TREE_SRCU
|
|
#define _SRCU_NOTIFIER_HEAD(name, mod) \
|
|
#define _SRCU_NOTIFIER_HEAD(name, mod) \
|
|
- static DEFINE_PER_CPU(struct srcu_data, \
|
|
|
|
- name##_head_srcu_data); \
|
|
|
|
|
|
+ static DEFINE_PER_CPU(struct srcu_data, name##_head_srcu_data); \
|
|
mod struct srcu_notifier_head name = \
|
|
mod struct srcu_notifier_head name = \
|
|
SRCU_NOTIFIER_INIT(name, name##_head_srcu_data)
|
|
SRCU_NOTIFIER_INIT(name, name##_head_srcu_data)
|
|
|
|
|