aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index d4d6ab453b78..4936489f9ed8 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -164,8 +164,11 @@ ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
164 164
165#ifdef CONFIG_FTRACE_MCOUNT_RECORD 165#ifdef CONFIG_FTRACE_MCOUNT_RECORD
166extern void ftrace_init(void); 166extern void ftrace_init(void);
167extern void ftrace_init_module(unsigned long *start, unsigned long *end);
167#else 168#else
168static inline void ftrace_init(void) { } 169static inline void ftrace_init(void) { }
170static inline void
171ftrace_init_module(unsigned long *start, unsigned long *end) { }
169#endif 172#endif
170 173
171#endif /* _LINUX_FTRACE_H */ 174#endif /* _LINUX_FTRACE_H */