summaryrefslogtreecommitdiff
path: root/usr/initramfs_data.S
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-04-11 11:39:44 +0300
committerWill Deacon <will.deacon@arm.com>2017-04-11 18:29:53 +0300
commita9e469d1c89b5e9890859b5f001601498549577d (patch)
tree7f3ebaa6a184807753b7ed09b0e7c217e0b5fa3b /usr/initramfs_data.S
parent3071f13d75f627ed8648535815a0506d50cbc6ed (diff)
downloadlinux-a9e469d1c89b5e9890859b5f001601498549577d.tar.xz
drivers/perf: arm_pmu: remove pointless PMU disabling
We currently disable the PMU temporarily in armpmu_add(). We may have required this historically, but the perf core always disables an event's PMU when calling event::pmu::add(), so this is not necessary. We don't do similarly in armpmu_del(), or elsewhere, so this is unnecessary and inconsistent, and only serves to confuse the reader. Remove the pointless disable, simplifying armpmu_add() in the process. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Jeremy Linton <jeremy.linton@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions