summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/smp.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 18:16:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 18:16:32 +0200
commit19e00d593e9a273ecbfbe131676ed11c140670ac (patch)
tree35198f6fc524976db5465e9bb57cd26c759b67e0 /arch/x86/xen/smp.c
parent197fe6b0e6843b6859c6a1436ff19e3c444c0502 (diff)
parenteeeda4cd06e828b331b15741a204ff9f5874d28d (diff)
downloadlinux-19e00d593e9a273ecbfbe131676ed11c140670ac.tar.gz
linux-19e00d593e9a273ecbfbe131676ed11c140670ac.tar.bz2
linux-19e00d593e9a273ecbfbe131676ed11c140670ac.zip
Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 bootup updates from Ingo Molnar: "The changes in this cycle were: - Fix rare SMP-boot hang (mostly in virtual environments) - Fix build warning with certain (rare) toolchains" * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/relocs: Make per_cpu_load_addr static x86/smpboot: Initialize secondary CPU only if master CPU will wait for it
Diffstat (limited to 'arch/x86/xen/smp.c')
-rw-r--r--arch/x86/xen/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index c670d7518cf4..8650cdb53209 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -365,6 +365,8 @@ cpu_initialize_context(unsigned int cpu, struct task_struct *idle)
struct desc_struct *gdt;
unsigned long gdt_mfn;
+ /* used to tell cpu_init() that it can proceed with initialization */
+ cpumask_set_cpu(cpu, cpu_callout_mask);
if (cpumask_test_and_set_cpu(cpu, xen_cpu_initialized_map))
return 0;