diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 6f9a31a18811..e09f3124738a 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -329,15 +329,8 @@ static void __cpuinit start_secondary(void *unused) | |||
329 | * smp_call_function(). | 329 | * smp_call_function(). |
330 | */ | 330 | */ |
331 | lock_ipi_call_lock(); | 331 | lock_ipi_call_lock(); |
332 | #ifdef CONFIG_X86_64 | 332 | #ifdef CONFIG_X86_IO_APIC |
333 | spin_lock(&vector_lock); | 333 | setup_vector_irq(smp_processor_id()); |
334 | |||
335 | /* Setup the per cpu irq handling data structures */ | ||
336 | __setup_vector_irq(smp_processor_id()); | ||
337 | /* | ||
338 | * Allow the master to continue. | ||
339 | */ | ||
340 | spin_unlock(&vector_lock); | ||
341 | #endif | 334 | #endif |
342 | cpu_set(smp_processor_id(), cpu_online_map); | 335 | cpu_set(smp_processor_id(), cpu_online_map); |
343 | unlock_ipi_call_lock(); | 336 | unlock_ipi_call_lock(); |