|
@@ -2128,9 +2128,11 @@ int __generic_processor_info(int apicid, int version, bool enabled)
|
|
|
if (num_processors >= nr_cpu_ids) {
|
|
|
int thiscpu = max + disabled_cpus;
|
|
|
|
|
|
- pr_warning(
|
|
|
- "APIC: NR_CPUS/possible_cpus limit of %i reached."
|
|
|
- " Processor %d/0x%x ignored.\n", max, thiscpu, apicid);
|
|
|
+ if (enabled) {
|
|
|
+ pr_warning("APIC: NR_CPUS/possible_cpus limit of %i "
|
|
|
+ "reached. Processor %d/0x%x ignored.\n",
|
|
|
+ max, thiscpu, apicid);
|
|
|
+ }
|
|
|
|
|
|
disabled_cpus++;
|
|
|
return -EINVAL;
|