summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2015-06-30 15:56:57 +0300
committerWill Deacon <will.deacon@arm.com>2015-07-31 17:01:14 +0300
commitbc1e3c4687df62a1f2ba1b6be11efbeb76145366 (patch)
tree54d5b9de077f21ae746ca38cc6587bc80df44638 /drivers/Kconfig
parentb6c084d7aa8bca21920cbbe13ad58572fa85ece6 (diff)
downloadlinux-bc1e3c4687df62a1f2ba1b6be11efbeb76145366.tar.xz
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 <will.deacon@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions