perf, x86: Change x86_pmu.{enable,disable} calling convention
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Mar 2010 19:32:08 +0000 (20:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:22:28 +0000 (13:22 +0100)
commitaff3d91a913c9ae0c2f56b65b27cbd00c7d27ee3
treeee96a8354cb19c433c3a0527390705fe410d1399
parentcc2ad4ba8792b9d4ff893ae3b845d2c5a6206fc9
perf, x86: Change x86_pmu.{enable,disable} calling convention

Pass the full perf_event into the x86_pmu functions so that those may
make use of more than the hw_perf_event, and while doing this, remove the
superfluous second argument.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
LKML-Reference: <20100304140100.165166129@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_p6.c