--- zzzz-none-000/linux-3.10.107/arch/powerpc/perf/ppc970-pmu.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/perf/ppc970-pmu.c 2021-02-04 17:41:59.000000000 +0000 @@ -257,7 +257,7 @@ } static int p970_compute_mmcr(u64 event[], int n_ev, - unsigned int hwc[], unsigned long mmcr[]) + unsigned int hwc[], unsigned long mmcr[], struct perf_event *pevents[]) { unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; unsigned int pmc, unit, byte, psel;