summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-cpuimx27.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2011-08-23 10:59:49 (GMT)
committerWill Deacon <will.deacon@arm.com>2011-08-31 09:50:13 (GMT)
commit7325eaec439cd0cc8c9b61b59d41d99abace1b23 (patch)
tree802b05381659791a59db17827702f60202a4afbd /arch/arm/mach-imx/mach-cpuimx27.c
parent0ce47080dfffe71edd433b35dcdada24c61079eb (diff)
downloadlinux-fsl-qoriq-7325eaec439cd0cc8c9b61b59d41d99abace1b23.tar.xz
ARM: perf: Remove unnecessary armpmu->enable()s
Currently, armpmu_enable iterates through the events for a given counter set, calling armpmu->enable on each before calling armpmu->start to start the PMU's counters. As armpmu->enable is called when each event is added, each event is already configured in hardware. Due to this, calling armpmu->enable in armpmu_enable is unnecessary and confusing. This patch removes the unnecessary calls to armpmu->enable. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-cpuimx27.c')
0 files changed, 0 insertions, 0 deletions