]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/module.c
Merge tag 'trace-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[karo-tx-linux.git] / kernel / module.c
index 4a3665f8f8372aab68b658c24c30678806823eee..1d958c6d5c24dbae47e55508c19ac4ed60bbd55e 100644 (file)
@@ -1202,10 +1202,7 @@ static ssize_t store_uevent(struct module_attribute *mattr,
                            struct module_kobject *mk,
                            const char *buffer, size_t count)
 {
-       enum kobject_action action;
-
-       if (kobject_action_type(buffer, count, &action) == 0)
-               kobject_uevent(&mk->kobj, action);
+       kobject_synth_uevent(&mk->kobj, buffer, count);
        return count;
 }
 
@@ -3077,9 +3074,9 @@ static int find_module_sections(struct module *mod, struct load_info *info)
        mod->trace_events = section_objs(info, "_ftrace_events",
                                         sizeof(*mod->trace_events),
                                         &mod->num_trace_events);
-       mod->trace_enums = section_objs(info, "_ftrace_enum_map",
-                                       sizeof(*mod->trace_enums),
-                                       &mod->num_trace_enums);
+       mod->trace_evals = section_objs(info, "_ftrace_eval_map",
+                                       sizeof(*mod->trace_evals),
+                                       &mod->num_trace_evals);
 #endif
 #ifdef CONFIG_TRACING
        mod->trace_bprintk_fmt_start = section_objs(info, "__trace_printk_fmt",