diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 2ba259b2defa..938ca1942641 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -335,6 +335,9 @@ extern void unregister_ftrace_return(void); | |||
335 | 335 | ||
336 | extern void ftrace_retfunc_init_task(struct task_struct *t); | 336 | extern void ftrace_retfunc_init_task(struct task_struct *t); |
337 | extern void ftrace_retfunc_exit_task(struct task_struct *t); | 337 | extern void ftrace_retfunc_exit_task(struct task_struct *t); |
338 | #else | ||
339 | static inline void ftrace_retfunc_init_task(struct task_struct *t) { } | ||
340 | static inline void ftrace_retfunc_exit_task(struct task_struct *t) { } | ||
338 | #endif | 341 | #endif |
339 | 342 | ||
340 | #endif /* _LINUX_FTRACE_H */ | 343 | #endif /* _LINUX_FTRACE_H */ |