Browse Source

x86: move mp_irqs to io_apics_32.c

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alexey Starikovskiy 17 years ago
parent
commit
584f734d03
2 changed files with 6 additions and 6 deletions
  1. 6 0
      arch/x86/kernel/io_apic_32.c
  2. 0 6
      arch/x86/kernel/mpparse_32.c

+ 6 - 0
arch/x86/kernel/io_apic_32.c

@@ -75,6 +75,12 @@ int nr_ioapic_registers[MAX_IO_APICS];
 struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];
 int nr_ioapics;
 
+/* MP IRQ source entries */
+struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
+
+/* # of MP IRQ source entries */
+int mp_irq_entries;
+
 static int disable_timer_pin_1 __initdata;
 
 /*

+ 0 - 6
arch/x86/kernel/mpparse_32.c

@@ -47,12 +47,6 @@ DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES);
 int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
 static int mp_current_pci_id;
 
-/* # of MP IRQ source entries */
-struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
-
-/* MP IRQ source entries */
-int mp_irq_entries;
-
 int pic_mode;
 
 /* Make it easy to share the UP and SMP code: */