]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/perf: Factor out event_alternative function
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Sun, 12 Feb 2017 17:03:10 +0000 (22:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 10:48:47 +0000 (21:48 +1100)
commitefe881afdd9996ccbcd2a09c93b724f4ffc25991
tree734d6b71f83e335f7236ca5f8567d74ccf2581f1
parent753843471cbbaeca25a5cab51981ee721ad272f7
powerpc/perf: Factor out event_alternative function

Factor out the power8 event_alternative function to share
the code with power9.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/isa207-common.c
arch/powerpc/perf/isa207-common.h
arch/powerpc/perf/power8-pmu.c