浏览代码

Revert "tracing: Include module.h in define_trace.h"

This reverts commit 3a9f987b3141f086de27832514aad9f50a53f754.

With all the files that are real modules now having module.h
explicitly called out for inclusion, and no reliance on any
implicit presence of module.h assumed, we should no longer
need this workaround.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 13 年之前
父节点
当前提交
67b84999b1
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      include/trace/define_trace.h

+ 0 - 10
include/trace/define_trace.h

@@ -21,16 +21,6 @@
 #undef CREATE_TRACE_POINTS
 #undef CREATE_TRACE_POINTS
 
 
 #include <linux/stringify.h>
 #include <linux/stringify.h>
-/*
- * module.h includes tracepoints, and because ftrace.h
- * pulls in module.h:
- *  trace/ftrace.h -> linux/ftrace_event.h -> linux/perf_event.h ->
- *  linux/ftrace.h -> linux/module.h
- * we must include module.h here before we play with any of
- * the TRACE_EVENT() macros, otherwise the tracepoints included
- * by module.h may break the build.
- */
-#include <linux/module.h>
 
 
 #undef TRACE_EVENT
 #undef TRACE_EVENT
 #define TRACE_EVENT(name, proto, args, tstruct, assign, print)	\
 #define TRACE_EVENT(name, proto, args, tstruct, assign, print)	\