提交 3e1932ad 编写于 作者: I Ingo Molnar

tracing/fastboot: build fix

fix:

 In file included from kernel/sysctl.c:52:
 include/linux/ftrace.h:217: error: 'KSYM_NAME_LEN' undeclared here (not in a function)
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 5601020f
#ifndef _LINUX_FTRACE_H #ifndef _LINUX_FTRACE_H
#define _LINUX_FTRACE_H #define _LINUX_FTRACE_H
#ifdef CONFIG_FTRACE
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kallsyms.h> #include <linux/kallsyms.h>
#ifdef CONFIG_FTRACE
extern int ftrace_enabled; extern int ftrace_enabled;
extern int extern int
ftrace_enable_sysctl(struct ctl_table *table, int write, ftrace_enable_sysctl(struct ctl_table *table, int write,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册