diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-19 23:50:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:08 -0400 |
commit | a84488c213a8cfc29200344a6fb6357d48c8ed85 (patch) | |
tree | 71e5392cdc8d837a3e17ce7da7cccebad3fdf82c /arch | |
parent | 301e619020dd67bde7e7e64bb9ffb7f30d26c979 (diff) |
irq: sparse irqs, fix #3
fix non-APIC UP build:
arch/x86/kernel/built-in.o: In function `setup_arch':
: undefined reference to `pin_map_size'
arch/x86/kernel/built-in.o: In function `setup_arch':
: undefined reference to `first_free_entry'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 558ec26b08e..02e3a669797 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1074,8 +1074,10 @@ void __init setup_arch(char **cmdline_p) | |||
1074 | nr_irqs = 32 * nr_cpu_ids + 224; | 1074 | nr_irqs = 32 * nr_cpu_ids + 224; |
1075 | init_cpu_to_node(); | 1075 | init_cpu_to_node(); |
1076 | #endif | 1076 | #endif |
1077 | #ifdef CONFIG_X86_IO_APIC | ||
1077 | pin_map_size = nr_irqs * 2; | 1078 | pin_map_size = nr_irqs * 2; |
1078 | first_free_entry = nr_irqs; | 1079 | first_free_entry = nr_irqs; |
1080 | #endif | ||
1079 | 1081 | ||
1080 | init_apic_mappings(); | 1082 | init_apic_mappings(); |
1081 | ioapic_init_mappings(); | 1083 | ioapic_init_mappings(); |