Skip to content
Commit 88ffce95 authored by Yunfeng Ye's avatar Yunfeng Ye Committed by Rafael J. Wysocki
Browse files

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: default avatarYunfeng Ye <yeyunfeng@huawei.com>
[ rjw: Changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent cca26b66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment