diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-11-22 08:15:38 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-22 15:04:23 +0300 |
commit | de34787f1096cce38e2590be0013b44418d14546 (patch) | |
tree | 2f322ae62f678870e62d0c9b01afa1005c87b3fa /arch/cris/mm/Makefile | |
parent | 252eb55816a6f69ef9464cad303cdb3326cdc61d (diff) | |
download | linux-de34787f1096cce38e2590be0013b44418d14546.tar.xz |
powerpc/perf: Fix pmu_count to count only nest imc pmus
"pmu_count" in opal_imc_counters_probe() is intended to hold
the number of successful nest imc pmu registerations. But
current code also counts other imc units like core_imc and
thread_imc. Patch add a check to count only nest imc pmus.
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/cris/mm/Makefile')
0 files changed, 0 insertions, 0 deletions