diff options
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) | |||
1612 | { | 1612 | { |
1613 | ftrace_disabled = 1; | 1613 | ftrace_disabled = 1; |
1614 | ftrace_enabled = 0; | 1614 | ftrace_enabled = 0; |
1615 | #ifdef CONFIG_DYNAMIC_FTRACE | ||
1615 | ftraced_suspend = -1; | 1616 | ftraced_suspend = -1; |
1617 | #endif | ||
1616 | clear_ftrace_function(); | 1618 | clear_ftrace_function(); |
1617 | } | 1619 | } |
1618 | 1620 | ||