diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 10:21:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:32 -0500 |
commit | a965936643e28af8152d9e960b966baa1a5588a2 (patch) | |
tree | f86d64139f85fcaa627840275519a03f3b4fcc86 /arch/x86/kernel/smpboot.c | |
parent | abfa584c8df8b691cf18f51c7d4af27e5b32be4a (diff) |
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.c | 3 |
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.) |