diff options
author | Anju T Sudhakar | 2018-05-22 11:12:37 +0200 |
---|---|---|
committer | Michael Ellerman | 2018-06-03 12:43:37 +0200 |
commit | 25af86b2aeb60dd52bd18a875124490e23bd4515 (patch) | |
tree | 0da13f3338cd72d753a1debda8ae0e5082f91f72 /arch/powerpc/kernel | |
parent | powerpc/perf: Return appropriate value for unknown domain (diff) | |
download | kernel-qcow2-linux-25af86b2aeb60dd52bd18a875124490e23bd4515.tar.gz kernel-qcow2-linux-25af86b2aeb60dd52bd18a875124490e23bd4515.tar.xz kernel-qcow2-linux-25af86b2aeb60dd52bd18a875124490e23bd4515.zip |
powerpc/perf: Unregister thread-imc if core-imc not supported
Since thread-imc internally use the core-imc hardware infrastructure
and is depended on it, having thread-imc in the kernel in the
absence of core-imc is trivial. Patch disables thread-imc, if
core-imc is not registered.
Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions