File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ static struct rapl_domain *platform_rapl_domain; /* Platform (PSys) domain */
266
266
/* caller to ensure CPU hotplug lock is held */
267
267
static struct rapl_package * rapl_find_package_domain (int cpu )
268
268
{
269
- int id = topology_physical_package_id (cpu );
269
+ int id = topology_logical_die_id (cpu );
270
270
struct rapl_package * rp ;
271
271
272
272
list_for_each_entry (rp , & rapl_packages , plist ) {
@@ -1459,7 +1459,7 @@ static void rapl_remove_package(struct rapl_package *rp)
1459
1459
/* called from CPU hotplug notifier, hotplug lock held */
1460
1460
static struct rapl_package * rapl_add_package (int cpu )
1461
1461
{
1462
- int id = topology_physical_package_id (cpu );
1462
+ int id = topology_logical_die_id (cpu );
1463
1463
struct rapl_package * rp ;
1464
1464
int ret ;
1465
1465
You can’t perform that action at this time.
0 commit comments