|
@@ -237,11 +237,6 @@ static int control_ops_alloc(struct ftrace_ops *ops)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void control_ops_free(struct ftrace_ops *ops)
|
|
|
-{
|
|
|
- free_percpu(ops->disabled);
|
|
|
-}
|
|
|
-
|
|
|
static void update_global_ops(void)
|
|
|
{
|
|
|
ftrace_func_t func = ftrace_global_list_func;
|
|
@@ -2100,6 +2095,11 @@ static ftrace_func_t saved_ftrace_func;
|
|
|
static int ftrace_start_up;
|
|
|
static int global_start_up;
|
|
|
|
|
|
+static void control_ops_free(struct ftrace_ops *ops)
|
|
|
+{
|
|
|
+ free_percpu(ops->disabled);
|
|
|
+}
|
|
|
+
|
|
|
static void ftrace_startup_enable(int command)
|
|
|
{
|
|
|
if (saved_ftrace_func != ftrace_trace_function) {
|