diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index d2b156538162..2971fe48f55e 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -49,7 +49,7 @@ static int last_ftrace_enabled; | |||
49 | 49 | ||
50 | /* set when tracing only a pid */ | 50 | /* set when tracing only a pid */ |
51 | struct pid *ftrace_pid_trace; | 51 | struct pid *ftrace_pid_trace; |
52 | static struct pid * const ftrace_swapper_pid = (struct pid *)1; | 52 | static struct pid * const ftrace_swapper_pid = &init_struct_pid; |
53 | 53 | ||
54 | /* Quick disabling of function tracer. */ | 54 | /* Quick disabling of function tracer. */ |
55 | int function_trace_stop; | 55 | int function_trace_stop; |