xen/x86: Update topology map for PV VCPUs
[deliverable/linux.git] / arch / x86 / xen / smp.c
index 0b4d04c8ab4d2932cf345c5dae4963ce03dcc483..62284035be84234ca489f06adcb32e6616621b4f 100644 (file)
@@ -87,6 +87,12 @@ static void cpu_bringup(void)
        cpu_data(cpu).x86_max_cores = 1;
        set_cpu_sibling_map(cpu);
 
+       /*
+        * identify_cpu() may have set logical_pkg_id to -1 due
+        * to incorrect phys_proc_id. Let's re-comupte it.
+        */
+       topology_update_package_map(apic->cpu_present_to_apicid(cpu), cpu);
+
        xen_setup_cpu_clockevents();
 
        notify_cpu_starting(cpu);
This page took 0.023781 seconds and 5 git commands to generate.