summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-27 20:54:31 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-04-17 15:41:31 (GMT)
commite81b2c62d66068d210ddeacd77076068184d414a (patch)
tree6518b343a6d649a0778fb586960d654e5611a644 /arch/x86
parent08bef9d337f26747b9520278872d20f15983fcda (diff)
downloadlinux-fsl-qoriq-e81b2c62d66068d210ddeacd77076068184d414a.tar.xz
x86: move apic_ver array to apic_32.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/apic_32.c3
-rw-r--r--arch/x86/kernel/mpparse_32.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 6f50602..bdfffb0 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1225,6 +1225,9 @@ fake_ioapic_page:
* This initializes the IO-APIC and APIC hardware if this is
* a UP kernel.
*/
+
+int apic_version[MAX_APICS];
+
int __init APIC_init_uniprocessor(void)
{
if (enable_local_apic < 0)
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 9f23018..1888269 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -41,7 +41,6 @@ unsigned int __cpuinitdata maxcpus = NR_CPUS;
* Various Linux-internal data structures created from the
* MP-table.
*/
-int apic_version [MAX_APICS];
#if defined (CONFIG_MCA) || defined (CONFIG_EISA)
int mp_bus_id_to_type [MAX_MP_BUSSES];
#endif