diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2021-01-23 11:06:07 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-02-12 16:53:01 +0100 |
commit | 88ffce95764603e13eda4be003ec919e124ec365 (patch) | |
tree | af59e560c1cc371e9175d28f5a7b18a7d2b84c5f /tools/objtool | |
parent | powercap/intel_rapl: add support for AlderLake Mobile (diff) | |
download | linux-88ffce95764603e13eda4be003ec919e124ec365.tar.xz linux-88ffce95764603e13eda4be003ec919e124ec365.zip |
powercap: intel_rapl: Use topology interface in rapl_add_package()
It's not a good idea to access phys_proc_id and cpu_die_id directly.
Use topology_physical_package_id(cpu) and topology_die_id(cpu)
instead.
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions