Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 548e1ddf authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

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: default avatarPeter 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: default avatarIngo Molnar <mingo@elte.hu>
parent 58d7e993
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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)