aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-07-22 18:17:33 -0400
committerLen Brown <len.brown@intel.com>2010-07-22 18:17:33 -0400
commit840ba24dd615e71154f0faab136b744c0a481041 (patch)
tree0b1a51b51b3b4220c8c0adf442c9551ad27d4b7c
parentb37fa16e78d6f9790462b3181602a26b5af36260 (diff)
parent856b185dd23da39e562983fbf28860f54e661b41 (diff)
Merge branch 'bugzilla-16357' into release
-rw-r--r--drivers/acpi/processor_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index 51284351418f..e9699aaed109 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -223,7 +223,7 @@ static bool processor_physically_present(acpi_handle handle)
223 type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0; 223 type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0;
224 cpuid = acpi_get_cpuid(handle, type, acpi_id); 224 cpuid = acpi_get_cpuid(handle, type, acpi_id);
225 225
226 if (cpuid == -1) 226 if ((cpuid == -1) && (num_possible_cpus() > 1))
227 return false; 227 return false;
228 228
229 return true; 229 return true;