diff options
| author | Madhavan Srinivasan <[email protected]> | 2017-11-22 05:15:38 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-11-22 12:04:23 +0000 |
| commit | de34787f1096cce38e2590be0013b44418d14546 (patch) | |
| tree | 2f322ae62f678870e62d0c9b01afa1005c87b3fa /net/lapb/lapb_iface.c | |
| parent | powerpc: Fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX (diff) | |
| download | kernel-de34787f1096cce38e2590be0013b44418d14546.tar.gz kernel-de34787f1096cce38e2590be0013b44418d14546.zip | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
