summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat)2014-02-26 19:12:06 +0100
committerSteven Rostedt2014-03-07 16:06:09 +0100
commitb2e285fcb46ab4d91ebbc3a9bd5900f544972a47 (patch)
tree5579ba0d09820abe5041a4e9bf0ea5a5cbd5857a
parenttracing: Fix event header migrate.h to include tracepoint.h (diff)
downloadkernel-qcow2-linux-b2e285fcb46ab4d91ebbc3a9bd5900f544972a47.tar.gz
kernel-qcow2-linux-b2e285fcb46ab4d91ebbc3a9bd5900f544972a47.tar.xz
kernel-qcow2-linux-b2e285fcb46ab4d91ebbc3a9bd5900f544972a47.zip
tracing/module: Replace include of tracepoint.h with jump_label.h in module.h
There's nothing in the module.h header that requires tracepoint.h to be included, and there may be cases that tracepoint.h may need to include module.h, which will cause recursive header issues. But module.h requires seeing HAVE_JUMP_LABEL which is set in jump_label.h which it just coincidentally gets from tracepoint.h. Link: http://lkml.kernel.org/r/20140307084712.5c68641a@gandalf.local.home Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--include/linux/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index eaf60ff9ba94..5a5053975114 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -15,7 +15,7 @@
#include <linux/stringify.h>
#include <linux/kobject.h>
#include <linux/moduleparam.h>
-#include <linux/tracepoint.h>
+#include <linux/jump_label.h>
#include <linux/export.h>
#include <linux/percpu.h>