mirror of https://gitee.com/openkylin/linux.git
x86: move mp_ioapics to io_apic_32.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ba1ce61ff2
commit
9f640ccbc6
|
@ -71,6 +71,10 @@ int sis_apic_bug = -1;
|
||||||
*/
|
*/
|
||||||
int nr_ioapic_registers[MAX_IO_APICS];
|
int nr_ioapic_registers[MAX_IO_APICS];
|
||||||
|
|
||||||
|
/* I/O APIC entries */
|
||||||
|
struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];
|
||||||
|
int nr_ioapics;
|
||||||
|
|
||||||
static int disable_timer_pin_1 __initdata;
|
static int disable_timer_pin_1 __initdata;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -47,17 +47,12 @@ 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 };
|
int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
|
||||||
static int mp_current_pci_id;
|
static int mp_current_pci_id;
|
||||||
|
|
||||||
/* I/O APIC entries */
|
|
||||||
struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];
|
|
||||||
|
|
||||||
/* # of MP IRQ source entries */
|
/* # of MP IRQ source entries */
|
||||||
struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
|
struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
|
||||||
|
|
||||||
/* MP IRQ source entries */
|
/* MP IRQ source entries */
|
||||||
int mp_irq_entries;
|
int mp_irq_entries;
|
||||||
|
|
||||||
int nr_ioapics;
|
|
||||||
|
|
||||||
int pic_mode;
|
int pic_mode;
|
||||||
|
|
||||||
/* Make it easy to share the UP and SMP code: */
|
/* Make it easy to share the UP and SMP code: */
|
||||||
|
|
Loading…
Reference in New Issue