提交 548e1ddf 编写于 作者: P Peter Zijlstra 提交者: Ingo Molnar

perf_counter: remove perf_disable/enable exports

Now that ACPI idle doesn't use it anymore, remove the exports.

[ Impact: remove dead code/data ]
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20090515132018.429826617@chello.nl>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 58d7e993
...@@ -90,14 +90,12 @@ void perf_disable(void) ...@@ -90,14 +90,12 @@ void perf_disable(void)
__perf_disable(); __perf_disable();
hw_perf_disable(); hw_perf_disable();
} }
EXPORT_SYMBOL_GPL(perf_disable); /* ACPI idle */
void perf_enable(void) void perf_enable(void)
{ {
if (__perf_enable()) if (__perf_enable())
hw_perf_enable(); hw_perf_enable();
} }
EXPORT_SYMBOL_GPL(perf_enable); /* ACPI idle */
static void static void
list_add_counter(struct perf_counter *counter, struct perf_counter_context *ctx) list_add_counter(struct perf_counter *counter, struct perf_counter_context *ctx)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册