diff options
author | 2008-07-11 16:44:27 +0200 | |
---|---|---|
committer | 2008-07-11 16:46:50 +0200 | |
commit | b2613e370dbeb69edbff989382fa54f2395aa471 (patch) | |
tree | e943c77ea618e08cc1d2ba8cd026079d357c69fb /kernel/trace | |
parent | ftrace: separate out the function enabled variable (diff) | |
download | linux-b2613e370dbeb69edbff989382fa54f2395aa471.tar.gz linux-b2613e370dbeb69edbff989382fa54f2395aa471.tar.bz2 linux-b2613e370dbeb69edbff989382fa54f2395aa471.zip |
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ftrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 1359632668a4..4231a3dc224a 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -1612,7 +1612,9 @@ void ftrace_kill_atomic(void) { ftrace_disabled = 1; ftrace_enabled = 0; +#ifdef CONFIG_DYNAMIC_FTRACE ftraced_suspend = -1; +#endif clear_ftrace_function(); } |