xen/smp: Use smp_store_boot_cpu_info() to store cpu info for BSP during boot time.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 18 Dec 2012 01:29:32 +0000 (20:29 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 18 Dec 2012 02:56:35 +0000 (21:56 -0500)
commit06d0b5d9edcecccab45588a472cd34af2608e665
tree7c92de05a8165e9e45402544faa91d900c392416
parent6a7ed405114b2a53ccd99631b0636aaeabf71b3e
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>
arch/x86/xen/smp.c