x86: provide connect_bsp_APIC for x86_64

Although it is not really needed, we provide it to get
closer to i386. ifdefs around it are removed in smpboot.c

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Glauber Costa
2008-05-28 13:38:28 -03:00
committed by Ingo Molnar
parent 3fde690011
commit b5841765a2
2 changed files with 11 additions and 4 deletions

View File

@@ -1116,9 +1116,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
localise_nmi_watchdog();
#ifdef CONFIG_X86_32
connect_bsp_APIC();
#endif
setup_local_APIC();
end_local_APIC_setup();
return -1;
@@ -1173,9 +1171,8 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
}
preempt_enable();
#ifdef CONFIG_X86_32
connect_bsp_APIC();
#endif
/*
* Switch from PIC to APIC mode.
*/