tracing/module: Replace include of tracepoint.h with jump_label.h in module.h
PATCH 1/1 tracing/module: Replace include of tracepoint.h with jump_label.h in module.h
Rusty,
Can you give an Acked-by for this patch so that I can include it in my 3.15 queue. I have some patches there that need to be added before this change can go in.
Thanks,
-- Steve
----
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.
--- include/linux/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/module.h +1 -1
@@ -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>
Signature · 1 line
1.8.5.3
Quoted 5 lines · Steven Rostedt
Rusty,
Can you give an Acked-by for this patch so that I can include it in my 3.15 queue. I have some patches there that need to be added before this change can go in.
Thanks,
Rusty.
Quoted 35 lines
Thanks,
-- Steve
----
There's nothing in themodule.hheader that requirestracepoint.hto be included, and there may be cases thattracepoint.hmay need to includemodule.h, which will cause recursive header issues.But
module.hrequires seeingHAVE_JUMP_LABELwhich is set injump_label.hwhich it just coincidentally gets fromtracepoint.h.Cc Rusty Russell <[email protected]>Signed-off-by Steven Rostedt <[email protected]>--- include/linux/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/module.h +1
-1@@ -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> Signature · 1 line
1.8.5.3
Quoted 9 lines · On Fri, 07 Mar 2014 14:02:56 +1030 Rusty Russell <[email protected]> wrote:
Quoted 5 lines · Steven Rostedt
Rusty,
Can you give an Acked-by for this patch so that I can include it in my 3.15 queue. I have some patches there that need to be added before this change can go in.
Acked-by Rusty Russell <[email protected]>
Thank you!
-- Steve