aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ftrace.h6
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 */
105static inline int __ftrace_enabled_save(void) 107static inline int __ftrace_enabled_save(void)
106{ 108{
107#ifdef CONFIG_FTRACE 109#ifdef CONFIG_FTRACE