]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: PMU: Refactor pmu_*_el0_disabled
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 27 Mar 2017 16:03:37 +0000 (17:03 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:12 +0000 (07:49 -0700)
commit2b91cc9e1218c6a8ee96b0b4087fdc770f166618
treebde0da9077edcd13e7ef8bfc09c53c9c1462e61a
parentd0b6e2fbbe09c80c5ee59ff4271fabf04836cb15
arm64: KVM: PMU: Refactor pmu_*_el0_disabled

There is a lot of duplication in the pmu_*_el0_disabled helpers,
and as we're going to modify them shortly, let's move all the
common stuff in a single function.

No functional change.

Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm64/kvm/sys_regs.c