diff options
| author | 2022-08-20 23:58:22 +0800 | |
|---|---|---|
| committer | 2022-09-15 11:16:05 -0700 | |
| commit | 00bb07db5a42c91f4a74e836c6ae70fff20f7f8a (patch) | |
| tree | f21af6d3a896afc6cf62c7354fb359cdaa46098b /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | tools/power/x86/intel-speed-select: Cleanup get_physical_id usage (diff) | |
| download | linux-dev-00bb07db5a42c91f4a74e836c6ae70fff20f7f8a.tar.xz linux-dev-00bb07db5a42c91f4a74e836c6ae70fff20f7f8a.zip | |
tools/power/x86/intel-speed-select: Introduce is_cpu_in_power_domain helper
struct isst_id contains cpu, package and die info, and it can represent
a specific SST power domain.
Introduce is_cpu_in_power_domain() helper to identify if a cpu is in a
specified power_domain.
And cleanup the code to use the new helper.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
