[PATCHv2 6/9] arm: perf: kill get_hw_events()
Stephen Boyd
sboyd at codeaurora.org
Mon Oct 27 13:37:27 PDT 2014
On 10/27/2014 05:06 AM, Mark Rutland wrote:
> Now that the arm pmu code is limited to CPU PMUs the get_hw_events()
> function is superfluous, as we'll always have a set of per-cpu
> pmu_hw_events structures.
>
> This patch removes the get_hw_events() function, replacing it with
> a percpu hw_events pointer. Uses of get_hw_events are updated to use
> this_cpu_ptr.
>
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Reviewed-by: Will Deacon <will.deacon at arm.com>
>
Reviewed-by: Stephen Boyd <sboyd at codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list