diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:08 -0400 |
commit | 301e619020dd67bde7e7e64bb9ffb7f30d26c979 (patch) | |
tree | 0abae161010dbee1c3aa4ea2c0411cfc0fbeee5c /arch/x86/kernel/setup.c | |
parent | d17a55ded3393ad3878010bb3a8243a15a8d8df5 (diff) |
x86: use dyn_array in io_apic_xx.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 2255782e8d4b..558ec26b08e2 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1067,9 +1067,15 @@ void __init setup_arch(char **cmdline_p) | |||
1067 | #endif | 1067 | #endif |
1068 | 1068 | ||
1069 | prefill_possible_map(); | 1069 | prefill_possible_map(); |
1070 | |||
1070 | #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; | ||
1071 | init_cpu_to_node(); | 1075 | init_cpu_to_node(); |
1072 | #endif | 1076 | #endif |
1077 | pin_map_size = nr_irqs * 2; | ||
1078 | first_free_entry = nr_irqs; | ||
1073 | 1079 | ||
1074 | init_apic_mappings(); | 1080 | init_apic_mappings(); |
1075 | ioapic_init_mappings(); | 1081 | ioapic_init_mappings(); |