]> git.karo-electronics.de Git - linux-beck.git/commitdiff
perf_counter: remove perf_disable/enable exports
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 15 May 2009 13:19:26 +0000 (15:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 May 2009 13:26:55 +0000 (15:26 +0200)
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>
kernel/perf_counter.c

index e814ff04d7ca0266c7f4fc44361149937d8d7df6..0173738dd548eaa07e729c0658759f00c15b8694 100644 (file)
@@ -90,14 +90,12 @@ void perf_disable(void)
        __perf_disable();
        hw_perf_disable();
 }
-EXPORT_SYMBOL_GPL(perf_disable); /* ACPI idle */
 
 void perf_enable(void)
 {
        if (__perf_enable())
                hw_perf_enable();
 }
-EXPORT_SYMBOL_GPL(perf_enable); /* ACPI idle */
 
 static void
 list_add_counter(struct perf_counter *counter, struct perf_counter_context *ctx)