aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-09-28 17:43:55 -0700
committerJeremy Fitzhardinge <jeremy@goop.org>2011-11-25 10:46:42 -0800
commit705fb36be01f72d85b3bd23191593a93ed27e9b8 (patch)
treeab07f33f2494301a20451faa10973253535e4e8b
parentb642e7299d8f388a654ec5cd9fe4d57025f521f5 (diff)
downloadxen-705fb36be01f72d85b3bd23191593a93ed27e9b8.tar.gz
xen: defer spinlock setup until boot CPU setup
There's no need to do it at very early init, and doing it there makes it impossible to use the jump_label machinery. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
-rw-r--r--arch/x86/xen/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index e79dbb95482b8..4dec905559ce3 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -200,6 +200,7 @@ static void __init xen_smp_prepare_boot_cpu(void)
xen_filter_cpu_maps();
xen_setup_vcpu_info_placement();
+ xen_init_spinlocks();
}
static void __init xen_smp_prepare_cpus(unsigned int max_cpus)
@@ -513,7 +514,6 @@ void __init xen_smp_init(void)
{
smp_ops = xen_smp_ops;
xen_fill_possible_map();
- xen_init_spinlocks();
}
static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus)