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 cd63c0bc6180..b6256587f99e 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -97,7 +97,6 @@ static unsigned long apic_phys; | |||
97 | 97 | ||
98 | unsigned long mp_lapic_addr; | 98 | unsigned long mp_lapic_addr; |
99 | 99 | ||
100 | unsigned int __cpuinitdata maxcpus = NR_CPUS; | ||
101 | /* | 100 | /* |
102 | * Get the LAPIC version | 101 | * Get the LAPIC version |
103 | */ | 102 | */ |
@@ -1259,12 +1258,6 @@ void __cpuinit generic_processor_info(int apicid, int version) | |||
1259 | return; | 1258 | return; |
1260 | } | 1259 | } |
1261 | 1260 | ||
1262 | if (num_processors >= maxcpus) { | ||
1263 | printk(KERN_WARNING "WARNING: maxcpus limit of %i reached." | ||
1264 | " Processor ignored.\n", maxcpus); | ||
1265 | return; | ||
1266 | } | ||
1267 | |||
1268 | num_processors++; | 1261 | num_processors++; |
1269 | cpus_complement(tmp_map, cpu_present_map); | 1262 | cpus_complement(tmp_map, cpu_present_map); |
1270 | cpu = first_cpu(tmp_map); | 1263 | cpu = first_cpu(tmp_map); |