aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/ihex2fw.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2011-06-06 05:37:50 -0400
committerWill Deacon <will.deacon@arm.com>2011-08-31 05:50:08 -0400
commit7ae18a5717cbbf1879bdd5b66d7009a9958e5aef (patch)
tree877bd254703c985de0db15df76a2bf3ead1ea06f /firmware/ihex2fw.c
parent0f78d2d5ccf72ec834da6901886a40fd8e3b7615 (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 <mark.rutland@arm.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Jamie Iles <jamie@jamieiles.com> Reviewed-by: Ashwin Chaugule <ashwinc@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions