X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=kernel%2Fmodule.c;h=a2cee14a83f360b8300503f4e5c338d0105c8056;hb=83086d654dd08c0f57381522e6819f421677706e;hp=80c7c09584cf97d4eaa16549b42827d7ea6ced46;hpb=af0424522dbb235ee7f1eb84bce074004c9d8b51;p=tomoyo%2Ftomoyo-test1.git diff --git a/kernel/module.c b/kernel/module.c index 80c7c09584cf..a2cee14a83f3 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -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),