Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...
[sfrench/cifs-2.6.git] / kernel / module.c
index 80c7c09584cf97d4eaa16549b42827d7ea6ced46..a2cee14a83f360b8300503f4e5c338d0105c8056 100644 (file)
@@ -3083,6 +3083,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),