aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index d90c659b70e..61335306696 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -1069,15 +1069,15 @@ void __init setup_arch(char **cmdline_p)
1069 prefill_possible_map(); 1069 prefill_possible_map();
1070 1070
1071#ifdef CONFIG_X86_64 1071#ifdef CONFIG_X86_64
1072 /* need to wait for nr_cpu_ids settle down */
1073 if (nr_irqs == NR_IRQS)
1074 nr_irqs = 32 * nr_cpu_ids + 224;
1075 init_cpu_to_node(); 1072 init_cpu_to_node();
1076#endif 1073#endif
1077 1074
1078 init_apic_mappings(); 1075 init_apic_mappings();
1079 ioapic_init_mappings(); 1076 ioapic_init_mappings();
1080 1077
1078 /* need to wait for io_apic is mapped */
1079 nr_irqs = probe_nr_irqs();
1080
1081 kvm_guest_init(); 1081 kvm_guest_init();
1082 1082
1083 e820_reserve_resources(); 1083 e820_reserve_resources();