aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-05-15 09:19:26 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-15 09:26:55 -0400
commit548e1ddf255b4ebfb4ef20c08936fd8d4deb3bd9 (patch)
treeba66d0fa1a15b1555a50927d0afa0bccb36efd91 /kernel/perf_counter.c
parent58d7e993b16b62d30f8ef27757614056fe4def11 (diff)
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: Peter 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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r--kernel/perf_counter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index e814ff04d7ca..0173738dd548 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -90,14 +90,12 @@ void perf_disable(void)
90 __perf_disable(); 90 __perf_disable();
91 hw_perf_disable(); 91 hw_perf_disable();
92} 92}
93EXPORT_SYMBOL_GPL(perf_disable); /* ACPI idle */
94 93
95void perf_enable(void) 94void perf_enable(void)
96{ 95{
97 if (__perf_enable()) 96 if (__perf_enable())
98 hw_perf_enable(); 97 hw_perf_enable();
99} 98}
100EXPORT_SYMBOL_GPL(perf_enable); /* ACPI idle */
101 99
102static void 100static void
103list_add_counter(struct perf_counter *counter, struct perf_counter_context *ctx) 101list_add_counter(struct perf_counter *counter, struct perf_counter_context *ctx)