diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 18:16:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 18:16:32 +0200 |
commit | 19e00d593e9a273ecbfbe131676ed11c140670ac (patch) | |
tree | 35198f6fc524976db5465e9bb57cd26c759b67e0 /arch/x86/xen | |
parent | 197fe6b0e6843b6859c6a1436ff19e3c444c0502 (diff) | |
parent | eeeda4cd06e828b331b15741a204ff9f5874d28d (diff) | |
download | op-kernel-dev-19e00d593e9a273ecbfbe131676ed11c140670ac.zip op-kernel-dev-19e00d593e9a273ecbfbe131676ed11c140670ac.tar.gz |
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')
-rw-r--r-- | arch/x86/xen/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index c670d75..8650cdb 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; |