From: Sudeep Holla Date: Tue, 30 Jun 2015 12:56:57 +0000 (+0100) Subject: ARM: perf: replace arch_find_n_match_cpu_physical_id with of_cpu_device_node_get X-Git-Tag: omap-for-v4.3/fixes-rc1~102^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc1e3c4687df62a1f2ba1b6be11efbeb76145366;p=pandora-kernel.git ARM: perf: replace arch_find_n_match_cpu_physical_id with of_cpu_device_node_get arch_find_n_match_cpu_physical_id parses the device tree to get the device node for a given logical cpu index. However, since ARM PMUs get probed after the CPU device nodes are stashed while registering the cpus, we can use of_cpu_device_node_get to avoid another DT parse. This patch replaces arch_find_n_match_cpu_physical_id with of_cpu_device_node_get to reuse the stashed value directly instead. Cc: Will Deacon Cc: Mark Rutland Signed-off-by: Sudeep Holla Signed-off-by: Will Deacon --- Reading git-diff-tree failed