Commit 06d0b5d9edcecccab45588a472cd34af2608e665

Authored by Konrad Rzeszutek Wilk
1 parent 6a7ed40511

xen/smp: Use smp_store_boot_cpu_info() to store cpu info for BSP during boot time.

Git commit 30106c174311b8cfaaa3186c7f6f9c36c62d17da
("x86, hotplug: Support functions for CPU0 online/offline") alters what
the call to smp_store_cpu_info() does. For BSP we should use the
smp_store_boot_cpu_info() and for secondary CPU's the old
variant of smp_store_cpu_info() should be used. This fixes
the regression introduced by said commit.

Reported-and-Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -254,7 +254,7 @@
254 254 }
255 255 xen_init_lock_cpu(0);
256 256  
257   - smp_store_cpu_info(0);
  257 + smp_store_boot_cpu_info();
258 258 cpu_data(0).x86_max_cores = 1;
259 259  
260 260 for_each_possible_cpu(i) {