aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYunfeng Ye <yeyunfeng@huawei.com>2021-01-23 05:06:07 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-02-12 16:53:01 +0100
commit88ffce95764603e13eda4be003ec919e124ec365 (patch)
treeaf59e560c1cc371e9175d28f5a7b18a7d2b84c5f /arch
parentpowercap/intel_rapl: add support for AlderLake Mobile (diff)
downloadlinux-dev-88ffce95764603e13eda4be003ec919e124ec365.tar.xz
linux-dev-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 'arch')
0 files changed, 0 insertions, 0 deletions