diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-04-04 15:41:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:35 -0400 |
commit | 9c7408f3c491b6fe990cd2dacd5471ca21760551 (patch) | |
tree | 699f9252ef35397b6942890d26a9ba89dc5e242f /arch/x86 | |
parent | 9f640ccbc67b7c306206502bca420a80ad15c965 (diff) |
x86: move mp_ioapics to io_apic_64.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/io_apic_64.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse_64.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 0ac92d6acf57..e9217edab434 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c | |||
@@ -103,6 +103,10 @@ DEFINE_SPINLOCK(vector_lock); | |||
103 | */ | 103 | */ |
104 | int nr_ioapic_registers[MAX_IO_APICS]; | 104 | int nr_ioapic_registers[MAX_IO_APICS]; |
105 | 105 | ||
106 | /* I/O APIC entries */ | ||
107 | struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS]; | ||
108 | int nr_ioapics; | ||
109 | |||
106 | /* | 110 | /* |
107 | * Rough estimation of how many shared IRQs there are, can | 111 | * Rough estimation of how many shared IRQs there are, can |
108 | * be changed anytime. | 112 | * be changed anytime. |
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c index 3196c2318640..f1015bf53cf0 100644 --- a/arch/x86/kernel/mpparse_64.c +++ b/arch/x86/kernel/mpparse_64.c | |||
@@ -44,8 +44,6 @@ DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | |||
44 | int mp_bus_id_to_pci_bus[MAX_MP_BUSSES] = {[0 ... MAX_MP_BUSSES - 1] = -1 }; | 44 | int mp_bus_id_to_pci_bus[MAX_MP_BUSSES] = {[0 ... MAX_MP_BUSSES - 1] = -1 }; |
45 | 45 | ||
46 | static int mp_current_pci_id = 0; | 46 | static int mp_current_pci_id = 0; |
47 | /* I/O APIC entries */ | ||
48 | struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS]; | ||
49 | 47 | ||
50 | /* # of MP IRQ source entries */ | 48 | /* # of MP IRQ source entries */ |
51 | struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; | 49 | struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; |
@@ -53,8 +51,6 @@ struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; | |||
53 | /* MP IRQ source entries */ | 51 | /* MP IRQ source entries */ |
54 | int mp_irq_entries; | 52 | int mp_irq_entries; |
55 | 53 | ||
56 | int nr_ioapics; | ||
57 | |||
58 | /* Make it easy to share the UP and SMP code: */ | 54 | /* Make it easy to share the UP and SMP code: */ |
59 | #ifndef CONFIG_X86_SMP | 55 | #ifndef CONFIG_X86_SMP |
60 | unsigned int num_processors; | 56 | unsigned int num_processors; |