aboutsummaryrefslogtreecommitdiff
path: root/mm/debug.c
diff options
context:
space:
mode:
authorRobin Murphy2018-05-14 14:34:52 +0100
committerWill Deacon2018-05-21 18:12:53 +0100
commit28c01dc9d85e4cd744f254c45d3c894bca168ed6 (patch)
treea91e9031e6abce0166d3a2d43cdaf9855312b160 /mm/debug.c
parent75dc344145190bf53aed7a28dbc27c11180d94e5 (diff)
perf/arm-cci: Remove pointless PMU disabling
The CCI PMU driver bears some legacy remnants of the arm_pmu framework from when it was split in c6f85cb4305b ("bus: cci: move away from arm_pmu framework"). In particular this perf_pmu_{dis,en}able() dance around pmu->add which was fixed for arm_pmu in a9e469d1c89b ("drivers/perf: arm_pmu: remove pointless PMU disabling"). For the exact same reasons (i.e. perf core already does this around the call anyway), give cci_pmu_add() the exact same change, which also prevents having to export those core functions to build it as a module. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions