diff options
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index e571351f2a93..57744f4a75b4 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -90,7 +90,6 @@ static unsigned long apic_phys; | |||
90 | 90 | ||
91 | unsigned long mp_lapic_addr; | 91 | unsigned long mp_lapic_addr; |
92 | 92 | ||
93 | unsigned int __cpuinitdata maxcpus = NR_CPUS; | ||
94 | /* | 93 | /* |
95 | * Get the LAPIC version | 94 | * Get the LAPIC version |
96 | */ | 95 | */ |
@@ -1066,12 +1065,6 @@ void __cpuinit generic_processor_info(int apicid, int version) | |||
1066 | return; | 1065 | return; |
1067 | } | 1066 | } |
1068 | 1067 | ||
1069 | if (num_processors >= maxcpus) { | ||
1070 | printk(KERN_WARNING "WARNING: maxcpus limit of %i reached." | ||
1071 | " Processor ignored.\n", maxcpus); | ||
1072 | return; | ||
1073 | } | ||
1074 | |||
1075 | num_processors++; | 1068 | num_processors++; |
1076 | cpus_complement(tmp_map, cpu_present_map); | 1069 | cpus_complement(tmp_map, cpu_present_map); |
1077 | cpu = first_cpu(tmp_map); | 1070 | cpu = first_cpu(tmp_map); |