lkml.org 
[lkml]   [2014]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFA][PATCH 3/4] tracing/module: Remove include of tracepoint.h from module.h
    [ Request for Ack ]

    From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>

    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@vger.kernel.org # 2.6.31+
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    ---
    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



    \
     
     \ /
      Last update: 2014-02-27 06:01    [W:3.506 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site