From: Mark Rutland Date: Wed, 21 May 2014 17:06:13 +0000 (+0100) Subject: arm: perf: krait: stop using singleton PMU X-Git-Tag: omap-for-v3.17/fixes-against-rc2~160^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037e79aa958d325cfb3c733496af64199bba6b49;p=pandora-kernel.git 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 Acked-by: Stephen Boyd Tested-by: Christopher Covington Signed-off-by: Mark Rutland Signed-off-by: Will Deacon --- Reading git-diff-tree failed