|
@@ -2093,7 +2093,6 @@ int generic_processor_info(int apicid, int version)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
- num_processors++;
|
|
|
|
if (apicid == boot_cpu_physical_apicid) {
|
|
if (apicid == boot_cpu_physical_apicid) {
|
|
/*
|
|
/*
|
|
* x86_bios_cpu_apicid is required to have processors listed
|
|
* x86_bios_cpu_apicid is required to have processors listed
|
|
@@ -2116,10 +2115,13 @@ int generic_processor_info(int apicid, int version)
|
|
|
|
|
|
pr_warning("APIC: Package limit reached. Processor %d/0x%x ignored.\n",
|
|
pr_warning("APIC: Package limit reached. Processor %d/0x%x ignored.\n",
|
|
thiscpu, apicid);
|
|
thiscpu, apicid);
|
|
|
|
+
|
|
disabled_cpus++;
|
|
disabled_cpus++;
|
|
return -ENOSPC;
|
|
return -ENOSPC;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ num_processors++;
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Validate version
|
|
* Validate version
|
|
*/
|
|
*/
|