lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/13] tracing/power: Remove two exports
    Date
    From: Li Zefan <lizf@cn.fujitsu.com>

    trace_power_start and trace_power_end are used in
    arch/x86/kernel/power.c, and this file can't be compiled
    as a module, so these two tracepoints don't need to be
    exported.

    Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
    Acked-by: Arjan van de Ven <arjan@linux.intel.com>
    Acked-by: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <4B1DC55F.7060305@cn.fujitsu.com>
    Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    ---
    kernel/trace/power-traces.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/kernel/trace/power-traces.c b/kernel/trace/power-traces.c
    index e06c6e3..9f4f565 100644
    --- a/kernel/trace/power-traces.c
    +++ b/kernel/trace/power-traces.c
    @@ -14,7 +14,5 @@
    #define CREATE_TRACE_POINTS
    #include <trace/events/power.h>

    -EXPORT_TRACEPOINT_SYMBOL_GPL(power_start);
    -EXPORT_TRACEPOINT_SYMBOL_GPL(power_end);
    EXPORT_TRACEPOINT_SYMBOL_GPL(power_frequency);

    --
    1.6.2.3


    \
     
     \ /
      Last update: 2009-12-13 14:11    [W:0.025 / U:0.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site