Commit 67b84999 authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

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

This reverts commit 3a9f987b


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: default avatarPaul Gortmaker <>
parent ec53cf23
......@@ -21,16 +21,6 @@
#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>
#define TRACE_EVENT(name, proto, args, tstruct, assign, print) \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment