diff options
-rw-r--r-- | include/linux/ftrace.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 36c439927ff1..8b4cf38c80d2 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -99,9 +99,11 @@ static inline void tracer_disable(void) | |||
99 | #endif | 99 | #endif |
100 | } | 100 | } |
101 | 101 | ||
102 | /* Ftrace disable/restore without lock. Some synchronization mechanism | 102 | /* |
103 | * Ftrace disable/restore without lock. Some synchronization mechanism | ||
103 | * must be used to prevent ftrace_enabled to be changed between | 104 | * must be used to prevent ftrace_enabled to be changed between |
104 | * disable/restore. */ | 105 | * disable/restore. |
106 | */ | ||
105 | static inline int __ftrace_enabled_save(void) | 107 | static inline int __ftrace_enabled_save(void) |
106 | { | 108 | { |
107 | #ifdef CONFIG_FTRACE | 109 | #ifdef CONFIG_FTRACE |