aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-22 17:57:06 +0000
committerZhang Rui <rui.zhang@intel.com>2016-11-30 10:24:44 +0800
commit21a3d3d4c8f373054421443e244c75a94a40b1ae (patch)
tree036b8b71c35a3e2ad8eec7f0f4a08a0dfef59679 /tools/perf/util/c++/clang.cpp
parent89baa56be7fad333db0a91198bf4026017ab737d (diff)
thermal/x86_pkg_temp: Replace open coded cpu search
find_next_sibling() iterates over the online cpus and searches for a cpu with the same package id as the current cpu. This is a pointless exercise as topology_core_cpumask() allows a simple cpumask search for an online cpu on the same package. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions