diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-05-01 10:15:11 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-05-01 10:15:11 +0100 |
commit | 440cbc2937cceedbad853432c0edc0711c4af0e1 (patch) | |
tree | 7836f5c8d2613b6a0a434a90850e020d9bb99c76 /xen/arch/x86/setup.c | |
parent | 6719cd8e96852c8059f16ed8783bf978df30e548 (diff) | |
download | xen-440cbc2937cceedbad853432c0edc0711c4af0e1.tar.gz xen-440cbc2937cceedbad853432c0edc0711c4af0e1.tar.bz2 xen-440cbc2937cceedbad853432c0edc0711c4af0e1.zip |
A little bit of SMP boot code cleanup
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r-- | xen/arch/x86/setup.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 051fd273e9..ce1cb2a46a 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1226,9 +1226,8 @@ void __init __start_xen(unsigned long mbi_p) /* * Initialise higher-level timer functions. We do this fairly late - * (post-SMP) because the time bases and scale factors need to be updated - * regularly, and SMP initialisation can cause a long delay with - * interrupts not yet enabled. + * (after interrupts got enabled) because the time bases and scale + * factors need to be updated regularly. */ init_xen_time(); @@ -1254,7 +1253,7 @@ void __init __start_xen(unsigned long mbi_p) } printk("Brought up %ld CPUs\n", (long)num_online_cpus()); - smp_cpus_done(max_cpus); + smp_cpus_done(); do_initcalls(); |