Commit b2613e370dbeb69edbff989382fa54f2395aa471

Authored by Ingo Molnar
1 parent 60bc080090

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: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

kernel/trace/ftrace.c
... ... @@ -1612,7 +1612,9 @@
1612 1612 {
1613 1613 ftrace_disabled = 1;
1614 1614 ftrace_enabled = 0;
  1615 +#ifdef CONFIG_DYNAMIC_FTRACE
1615 1616 ftraced_suspend = -1;
  1617 +#endif
1616 1618 clear_ftrace_function();
1617 1619 }
1618 1620