diff options
Diffstat (limited to 'arch/powerpc/perf/mpc7450-pmu.c')
-rw-r--r-- | arch/powerpc/perf/mpc7450-pmu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/perf/mpc7450-pmu.c b/arch/powerpc/perf/mpc7450-pmu.c index fe21b515ca44..d115c5635bf3 100644 --- a/arch/powerpc/perf/mpc7450-pmu.c +++ b/arch/powerpc/perf/mpc7450-pmu.c | |||
@@ -260,8 +260,9 @@ static const u32 pmcsel_mask[N_COUNTER] = { | |||
260 | /* | 260 | /* |
261 | * Compute MMCR0/1/2 values for a set of events. | 261 | * Compute MMCR0/1/2 values for a set of events. |
262 | */ | 262 | */ |
263 | static int mpc7450_compute_mmcr(u64 event[], int n_ev, | 263 | static int mpc7450_compute_mmcr(u64 event[], int n_ev, unsigned int hwc[], |
264 | unsigned int hwc[], unsigned long mmcr[]) | 264 | unsigned long mmcr[], |
265 | struct perf_event *pevents[]) | ||
265 | { | 266 | { |
266 | u8 event_index[N_CLASSES][N_COUNTER]; | 267 | u8 event_index[N_CLASSES][N_COUNTER]; |
267 | int n_classevent[N_CLASSES]; | 268 | int n_classevent[N_CLASSES]; |