commit | 708597daf23486ea6f889ca29cc88389ca9a409a | [log] [tgz] |
---|---|---|
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | Thu Apr 04 17:24:49 2019 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri May 03 02:54:58 2019 +1000 |
tree | cd23d0c623a26ca24792b14a4373fde9da69a861 | |
parent | 1e496391a8452101308a23b7395cdd4983b6e5bd [diff] |
powerpc/perf: init pmu from core-book3s Currenty pmu driver file for each ppc64 generation processor has a __init call in itself. Refactor the code by moving the __init call to core-books.c. This also clean's up compat mode pmu driver registration. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> [mpe: Use SPDX tag for license] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>