Commit b2613e37 authored by Ingo Molnar's avatar Ingo Molnar

ftrace: build fix for ftraced_suspend

fix:

 kernel/trace/ftrace.c:1615: error: 'ftraced_suspend' undeclared (first use in this function)
 kernel/trace/ftrace.c:1615: error: (Each undeclared identifier is reported only once
 kernel/trace/ftrace.c:1615: error: for each function it appears in.)
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 60bc0800
...@@ -1612,7 +1612,9 @@ void ftrace_kill_atomic(void) ...@@ -1612,7 +1612,9 @@ void ftrace_kill_atomic(void)
{ {
ftrace_disabled = 1; ftrace_disabled = 1;
ftrace_enabled = 0; ftrace_enabled = 0;
#ifdef CONFIG_DYNAMIC_FTRACE
ftraced_suspend = -1; ftraced_suspend = -1;
#endif
clear_ftrace_function(); clear_ftrace_function();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment