aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic_32.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-08-18 12:45:49 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-18 20:07:12 -0400
commitb6c8051311e1a14d229df05ea39d0a1b2ce90cdd (patch)
treebbf35f7b2b0f3e80c36150f13da48a45fd553716 /arch/x86/kernel/apic_32.c
parentd5e629a6f88137fb77c4cc857be5ea7c3f27110d (diff)
x86: apic - rearrange maxcpu definition
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r--arch/x86/kernel/apic_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 41134d4e6a66..8d1febf05da1 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -114,6 +114,8 @@ static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
114static int enabled_via_apicbase; 114static int enabled_via_apicbase;
115 115
116static unsigned long apic_phys; 116static unsigned long apic_phys;
117unsigned int __cpuinitdata maxcpus = NR_CPUS;
118
117 119
118/* 120/*
119 * Get the LAPIC version 121 * Get the LAPIC version
@@ -1459,8 +1461,6 @@ void disconnect_bsp_APIC(int virt_wire_setup)
1459 } 1461 }
1460} 1462}
1461 1463
1462unsigned int __cpuinitdata maxcpus = NR_CPUS;
1463
1464void __cpuinit generic_processor_info(int apicid, int version) 1464void __cpuinit generic_processor_info(int apicid, int version)
1465{ 1465{
1466 int cpu; 1466 int cpu;