diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-14 23:57:28 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-15 13:23:46 +0100 |
commit | 88d0f550d71493cd975a11a03c166211b2f3bd32 (patch) | |
tree | 2aadb97a1ac90358d9c38cd99611a3f32d4da3dd /arch/x86/kernel/smpboot.c | |
parent | b69bc3967445169ea4dc11171118b414eafab271 (diff) | |
download | linux-88d0f550d71493cd975a11a03c166211b2f3bd32.tar.gz linux-88d0f550d71493cd975a11a03c166211b2f3bd32.tar.bz2 linux-88d0f550d71493cd975a11a03c166211b2f3bd32.zip |
x86: make 32bit to call enable_IO_APIC early like 64bit
Impact: cleanup
So we remove some #ifdefs.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
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, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index af57f88186e7..10834954e301 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1154,13 +1154,12 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus) */ setup_local_APIC(); -#ifdef CONFIG_X86_64 /* * Enable IO APIC before setting up error vector */ if (!skip_ioapic_setup && nr_ioapics) enable_IO_APIC(); -#endif + end_local_APIC_setup(); map_cpu_to_logical_apicid(); |