diff options
author | Mark Rutland <mark.rutland@arm.com> | 2014-05-21 18:06:13 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-07-02 15:48:26 +0100 |
commit | 037e79aa958d325cfb3c733496af64199bba6b49 (patch) | |
tree | 651d0110f848459c8fb8610cf32468cbff9059b6 /drivers/gpio | |
parent | 253d8c3d2518ca6f58853c9884e8f3cf961c0f15 (diff) | |
download | blackbird-op-linux-037e79aa958d325cfb3c733496af64199bba6b49.tar.gz blackbird-op-linux-037e79aa958d325cfb3c733496af64199bba6b49.zip |
arm: perf: krait: stop using singleton PMU
Currently the krait_pmu_{enable,disable}_event functions use the global
cpu_pmu variable while all the other pmu enable/disable functions
derive this from the event argument.
This patch brings the Krait functions into line with the rest of the PMU
backends by deriving the address of the pmu from the event argument.
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions