diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-18 20:45:49 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-19 04:07:12 +0400 |
commit | b6c8051311e1a14d229df05ea39d0a1b2ce90cdd (patch) | |
tree | bbf35f7b2b0f3e80c36150f13da48a45fd553716 /arch/x86/kernel/apic_32.c | |
parent | d5e629a6f88137fb77c4cc857be5ea7c3f27110d (diff) | |
download | linux-b6c8051311e1a14d229df05ea39d0a1b2ce90cdd.tar.xz |
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.c | 4 |
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); static int enabled_via_apicbase; static unsigned long apic_phys; +unsigned int __cpuinitdata maxcpus = NR_CPUS; + /* * Get the LAPIC version @@ -1459,8 +1461,6 @@ void disconnect_bsp_APIC(int virt_wire_setup) } } -unsigned int __cpuinitdata maxcpus = NR_CPUS; - void __cpuinit generic_processor_info(int apicid, int version) { int cpu; |