aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
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)
196 * our local APIC. We have to wait for the IPI or we'll 196 * our local APIC. We have to wait for the IPI or we'll
197 * lock up on an APIC access. 197 * lock up on an APIC access.
198 */ 198 */
199 wait_for_init_deassert(&init_deasserted); 199 if (apic->wait_for_init_deassert)
200 apic->wait_for_init_deassert(&init_deasserted);
200 201
201 /* 202 /*
202 * (This works even if the APIC is not enabled.) 203 * (This works even if the APIC is not enabled.)