aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 16:21:32 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:32 +0100
commita965936643e28af8152d9e960b966baa1a5588a2 (patch)
treef86d64139f85fcaa627840275519a03f3b4fcc86 /arch/x86/kernel/smpboot.c
parentx86: set ->trampoline_phys_low/high on 64-bit too (diff)
downloadlinux-dev-a965936643e28af8152d9e960b966baa1a5588a2.tar.xz
linux-dev-a965936643e28af8152d9e960b966baa1a5588a2.zip
x86, smp: refactor ->wait_for_init_deassert()
- spread out the namespace on a per APIC driver basis - handle a NULL ->wait_for_init_deassert() as a 'dont wait' default method - remove NUMAQ and Summit handlers Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index ab83be2f8e0f..558af378a61d 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -196,7 +196,8 @@ static void __cpuinit smp_callin(void)
* our local APIC. We have to wait for the IPI or we'll
* lock up on an APIC access.
*/
- wait_for_init_deassert(&init_deasserted);
+ if (apic->wait_for_init_deassert)
+ apic->wait_for_init_deassert(&init_deasserted);
/*
* (This works even if the APIC is not enabled.)