kernel/sched/: remove caller signal_pending branch predictions
[linux-2.6-microblaze.git] / kernel / module.c
index 339b3cd..fcbc012 100644 (file)
@@ -1208,8 +1208,10 @@ static ssize_t store_uevent(struct module_attribute *mattr,
                            struct module_kobject *mk,
                            const char *buffer, size_t count)
 {
-       kobject_synth_uevent(&mk->kobj, buffer, count);
-       return count;
+       int rc;
+
+       rc = kobject_synth_uevent(&mk->kobj, buffer, count);
+       return rc ? rc : count;
 }
 
 struct module_attribute module_uevent =
@@ -3095,6 +3097,11 @@ static int find_module_sections(struct module *mod, struct load_info *info)
                                             sizeof(*mod->tracepoints_ptrs),
                                             &mod->num_tracepoints);
 #endif
+#ifdef CONFIG_BPF_EVENTS
+       mod->bpf_raw_events = section_objs(info, "__bpf_raw_tp_map",
+                                          sizeof(*mod->bpf_raw_events),
+                                          &mod->num_bpf_raw_events);
+#endif
 #ifdef HAVE_JUMP_LABEL
        mod->jump_entries = section_objs(info, "__jump_table",
                                        sizeof(*mod->jump_entries),