diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index bf528b23750a..4716460607b4 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -766,16 +766,14 @@ void __init setup_arch(char **cmdline_p) | |||
766 | get_smp_config(); | 766 | get_smp_config(); |
767 | #endif | 767 | #endif |
768 | 768 | ||
769 | #ifdef CONFIG_X86_64 | ||
770 | init_apic_mappings(); | 769 | init_apic_mappings(); |
771 | ioapic_init_mappings(); | 770 | ioapic_init_mappings(); |
772 | #else | 771 | |
773 | # if defined(CONFIG_SMP) && defined(CONFIG_X86_PC) | 772 | #if defined(CONFIG_SMP) && defined(CONFIG_X86_PC) && defined(CONFIG_X86_32) |
774 | if (def_to_bigsmp) | 773 | if (def_to_bigsmp) |
775 | printk(KERN_WARNING "More than 8 CPUs detected and " | 774 | printk(KERN_WARNING "More than 8 CPUs detected and " |
776 | "CONFIG_X86_PC cannot handle it.\nUse " | 775 | "CONFIG_X86_PC cannot handle it.\nUse " |
777 | "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n"); | 776 | "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n"); |
778 | # endif | ||
779 | #endif | 777 | #endif |
780 | kvm_guest_init(); | 778 | kvm_guest_init(); |
781 | 779 | ||