|
@@ -2062,10 +2062,10 @@ static int allocate_logical_cpuid(int apicid)
|
|
|
|
|
|
/* Allocate a new cpuid. */
|
|
|
if (nr_logical_cpuids >= nr_cpu_ids) {
|
|
|
- WARN_ONCE(1, "Only %d processors supported."
|
|
|
+ WARN_ONCE(1, "APIC: NR_CPUS/possible_cpus limit of %i reached. "
|
|
|
"Processor %d/0x%x and the rest are ignored.\n",
|
|
|
- nr_cpu_ids - 1, nr_logical_cpuids, apicid);
|
|
|
- return -1;
|
|
|
+ nr_cpu_ids, nr_logical_cpuids, apicid);
|
|
|
+ return -EINVAL;
|
|
|
}
|
|
|
|
|
|
cpuid_to_apicid[nr_logical_cpuids] = apicid;
|