[RFA][PATCH 3/4] tracing/module: Remove include of tracepoint.h from module.h

From: Steven Rostedt
Date: Wed Feb 26 2014 - 14:08:02 EST


[ Request for Ack ]

From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>

There's nothing in the module.h header that requires tracepoint.h to be
included. Soon, tracepoint.h will require struct module, and will have to
include module.h. To avoid include hell, we need to remove the include of
tracepoint.h from module.h.

A stable patch will require this change, so include stable in the Cc.

Cc: stable@xxxxxxxxxxxxxxx # 2.6.31+
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
include/linux/module.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index eaf60ff..6cc28d9 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -15,7 +15,6 @@
#include <linux/stringify.h>
#include <linux/kobject.h>
#include <linux/moduleparam.h>
-#include <linux/tracepoint.h>
#include <linux/export.h>

#include <linux/percpu.h>
--
1.8.5.3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/