diff options
author | Mark Rutland <[email protected]> | 2011-06-06 10:37:50 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2011-08-31 10:50:08 +0100 |
commit | 7ae18a5717cbbf1879bdd5b66d7009a9958e5aef (patch) | |
tree | 877bd254703c985de0db15df76a2bf3ead1ea06f /lib/mpi | |
parent | 0f78d2d5ccf72ec834da6901886a40fd8e3b7615 (diff) |
ARM: perf: add type field to struct arm_pmu
Currently, the ARM perf code assumes all PMUs it will handle are
CPU PMUs, having ARM_PMU_DEVICE_CPU hardcoded when reserving or
releasing hardware. This means that currently, the ARM perf code can't
support system PMUs.
This patch adds a 'type' field to struct arm_pmu, which allows the code
to reserve & release the hardware regardless of the PMU type.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Reviewed-by: Jamie Iles <[email protected]>
Reviewed-by: Ashwin Chaugule <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions