From: Mark Rutland Date: Tue, 13 May 2014 18:36:31 +0000 (+0100) Subject: arm: perf: kill get_hw_events() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~13^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116792508607002896b706fbad8310419fcc5742;p=pandora-kernel.git arm: perf: kill get_hw_events() 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 Reviewed-by: Will Deacon Reviewed-by: Stephen Boyd Signed-off-by: Will Deacon --- Reading git-diff-tree failed