diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-12-17 20:29:32 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-12-17 21:56:35 -0500 |
commit | 06d0b5d9edcecccab45588a472cd34af2608e665 (patch) | |
tree | 7c92de05a8165e9e45402544faa91d900c392416 /arch/x86 | |
parent | 6a7ed405114b2a53ccd99631b0636aaeabf71b3e (diff) | |
download | kernel_goldelico_gta04-06d0b5d9edcecccab45588a472cd34af2608e665.zip kernel_goldelico_gta04-06d0b5d9edcecccab45588a472cd34af2608e665.tar.gz kernel_goldelico_gta04-06d0b5d9edcecccab45588a472cd34af2608e665.tar.bz2 |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/xen/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 353c50f..4f7d259 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -254,7 +254,7 @@ static void __init xen_smp_prepare_cpus(unsigned int max_cpus) } xen_init_lock_cpu(0); - smp_store_cpu_info(0); + smp_store_boot_cpu_info(); cpu_data(0).x86_max_cores = 1; for_each_possible_cpu(i) { |