summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2022-08-20 23:58:26 +0800
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2022-09-15 11:16:06 -0700
commitca56725d78c5241f65cc565e5a865f45d943dc04 (patch)
treed967cfaf2eb5d45fb7787e2b31d37f990362a6a3 /lib/mpi/mpiutil.c
parenta05b925ace3ea977fdadb32c969c22ef51029ee7 (diff)
tools/power/x86/intel-speed-select: Utilize cpu_map to get physical id
cpu_map already has the cpu package id, die id information. Thus there is no need to re-evaluating sysfs attributes or stored data file to get the package id and die id of a given CPU each time. In order to unitlize this, cpu_map needs to be created unconditionally. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions