Messages in this thread Patch in this message | | | Date | Mon, 07 Dec 2009 15:44:19 +0800 | From | Li Zefan <> | Subject | [PATCH 12/13] tracing/power: Remove two exports |
| |
trace_power_start and trace_power_end are only used in arch/x86/kernel/power.c, and this file can't be compiled as a module, so these two tracepoints needn't to be exported.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.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.3
| |