@@ -360,7 +360,7 @@ static int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cp
360360 for_each_possible_cpu (cpu ) {
361361 struct cpuinfo_x86 * c = & cpu_data (cpu );
362362
363- if (c -> initialized && c -> cpu_die_id == die_id &&
363+ if (c -> initialized && c -> topo . die_id == die_id &&
364364 c -> topo .pkg_id == proc_id )
365365 return c -> logical_die_id ;
366366 }
@@ -422,7 +422,7 @@ static void __init smp_store_boot_cpu_info(void)
422422 * c = boot_cpu_data ;
423423 c -> cpu_index = id ;
424424 topology_update_package_map (c -> topo .pkg_id , id );
425- topology_update_die_map (c -> cpu_die_id , id );
425+ topology_update_die_map (c -> topo . die_id , id );
426426 c -> initialized = true;
427427}
428428
@@ -477,7 +477,7 @@ static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
477477 int cpu1 = c -> cpu_index , cpu2 = o -> cpu_index ;
478478
479479 if (c -> topo .pkg_id == o -> topo .pkg_id &&
480- c -> cpu_die_id == o -> cpu_die_id &&
480+ c -> topo . die_id == o -> topo . die_id &&
481481 per_cpu (cpu_llc_id , cpu1 ) == per_cpu (cpu_llc_id , cpu2 )) {
482482 if (c -> cpu_core_id == o -> cpu_core_id )
483483 return topology_sane (c , o , "smt" );
@@ -489,7 +489,7 @@ static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
489489 }
490490
491491 } else if (c -> topo .pkg_id == o -> topo .pkg_id &&
492- c -> cpu_die_id == o -> cpu_die_id &&
492+ c -> topo . die_id == o -> topo . die_id &&
493493 c -> cpu_core_id == o -> cpu_core_id ) {
494494 return topology_sane (c , o , "smt" );
495495 }
@@ -500,7 +500,7 @@ static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
500500static bool match_die (struct cpuinfo_x86 * c , struct cpuinfo_x86 * o )
501501{
502502 if (c -> topo .pkg_id == o -> topo .pkg_id &&
503- c -> cpu_die_id == o -> cpu_die_id )
503+ c -> topo . die_id == o -> topo . die_id )
504504 return true;
505505 return false;
506506}
0 commit comments