diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-24 09:12:39 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-24 09:12:39 -0700 |
commit | b989ff070574ad8b8621d866de0a8e9a65d42c80 (patch) | |
tree | f93489ff6715891e4d13bc3e09521000894d18e6 /kernel/module.c | |
parent | 4289ee7d5a8343eaddd0986f8fb492868e2f546f (diff) | |
parent | 11ca7a9d541d09586fbf89290d1e14619cc40de0 (diff) | |
download | linux-stable-b989ff070574ad8b8621d866de0a8e9a65d42c80.tar.gz linux-stable-b989ff070574ad8b8621d866de0a8e9a65d42c80.tar.bz2 linux-stable-b989ff070574ad8b8621d866de0a8e9a65d42c80.zip |
Merge LKMM and RCU commits
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index 6e6712b3aaf5..c79a53b629b6 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -3095,6 +3095,11 @@ static int find_module_sections(struct module *mod, struct load_info *info) sizeof(*mod->tracepoints_ptrs), &mod->num_tracepoints); #endif +#ifdef CONFIG_TREE_SRCU + mod->srcu_struct_ptrs = section_objs(info, "___srcu_struct_ptrs", + sizeof(*mod->srcu_struct_ptrs), + &mod->num_srcu_structs); +#endif #ifdef CONFIG_BPF_EVENTS mod->bpf_raw_events = section_objs(info, "__bpf_raw_tp_map", sizeof(*mod->bpf_raw_events), |