perf counters: consolidate hw_perf save/restore APIs
authorIngo Molnar <mingo@elte.hu>
Thu, 11 Dec 2008 12:45:51 +0000 (13:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Dec 2008 14:45:53 +0000 (15:45 +0100)
commit01b2838c4298c5e0d30b4993c195ac34dd9df61e
tree56a526fb72bd068eb4e06aa79a7569e6afb4138a
parent5c92d12411dfe5f0f3d1b1c1e2f756245e6f7249
perf counters: consolidate hw_perf save/restore APIs

Impact: cleanup

Rename them to better match up the usual IRQ disable/enable APIs:

 hw_perf_disable_all()  => hw_perf_save_disable()
 hw_perf_restore_ctrl() => hw_perf_restore()

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c
drivers/acpi/processor_idle.c
include/linux/perf_counter.h
kernel/perf_counter.c