diff options
Diffstat (limited to 'arch/powerpc/perf/power8-pmu.c')
-rw-r--r-- | arch/powerpc/perf/power8-pmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c index 639cd9156585..19bbddf495dd 100644 --- a/arch/powerpc/perf/power8-pmu.c +++ b/arch/powerpc/perf/power8-pmu.c | |||
@@ -393,7 +393,8 @@ static int power8_get_constraint(u64 event, unsigned long *maskp, unsigned long | |||
393 | } | 393 | } |
394 | 394 | ||
395 | static int power8_compute_mmcr(u64 event[], int n_ev, | 395 | static int power8_compute_mmcr(u64 event[], int n_ev, |
396 | unsigned int hwc[], unsigned long mmcr[]) | 396 | unsigned int hwc[], unsigned long mmcr[], |
397 | struct perf_event *pevents[]) | ||
397 | { | 398 | { |
398 | unsigned long mmcra, mmcr1, unit, combine, psel, cache, val; | 399 | unsigned long mmcra, mmcr1, unit, combine, psel, cache, val; |
399 | unsigned int pmc, pmc_inuse; | 400 | unsigned int pmc, pmc_inuse; |