perf, x86: Pass enable bit mask to __x86_pmu_enable_event()
authorRobert Richter <robert.richter@amd.com>
Tue, 13 Apr 2010 20:23:14 +0000 (22:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 May 2010 09:31:00 +0000 (11:31 +0200)
commit31fa58af57c41d2912debf62d47d5811062411f1
treeebf17783851862e215f9f0ec966d7f4d85e15614
parent9d0fcba67e47ff398a6fa86476d4884d472dc98a
perf, x86: Pass enable bit mask to __x86_pmu_enable_event()

To reuse this function for events with different enable bit masks,
this mask is part of the function's argument list now.

The function will be used later to control ibs events too.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1271190201-25705-6-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c