hrtimer: Allow concurrent hrtimer_start() for self restarting timers
[pandora-kernel.git] / kernel / module.c
index 65362d9..95ecd9f 100644 (file)
@@ -2888,6 +2888,9 @@ static struct module *load_module(void __user *umod,
        /* This has to be done once we're sure module name is unique. */
        dynamic_debug_setup(info.debug, info.num_debug);
 
+       /* Ftrace init must be called in the MODULE_STATE_UNFORMED state */
+       ftrace_module_init(mod);
+
        /* Find duplicate symbols */
        err = verify_export_symbols(mod);
        if (err < 0)