提交 97d0bb8d 编写于 作者: I Ingo Molnar

ftrace: fix !CONFIG_FTRACE [un_]register_ftrace_command() prototypes

Impact: build fix
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 f492d3f8
......@@ -238,9 +238,11 @@ extern void ftrace_enable_daemon(void);
static inline void ftrace_release(void *start, unsigned long size) { }
static inline int register_ftrace_command(struct ftrace_func_command *cmd)
{
return -EINVAL;
}
static inline int unregister_ftrace_command(char *cmd_name)
{
return -EINVAL;
}
#endif /* CONFIG_DYNAMIC_FTRACE */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册