|
@@ -2686,7 +2686,7 @@ static struct intel_uncore_type *hswep_msr_uncores[] = {
|
|
|
|
|
|
void hswep_uncore_cpu_init(void)
|
|
void hswep_uncore_cpu_init(void)
|
|
{
|
|
{
|
|
- int pkg = topology_phys_to_logical_pkg(0);
|
|
|
|
|
|
+ int pkg = boot_cpu_data.logical_proc_id;
|
|
|
|
|
|
if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores)
|
|
if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores)
|
|
hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores;
|
|
hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores;
|