summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-840ba24dd615e71154f0faab136b744c0a481041.zip
op-kernel-dev-840ba24dd615e71154f0faab136b744c0a481041.tar.gz
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 5128435..e9699aae 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)
type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0;
cpuid = acpi_get_cpuid(handle, type, acpi_id);
- if (cpuid == -1)
+ if ((cpuid == -1) && (num_possible_cpus() > 1))
return false;
return true;
OpenPOWER on IntegriCloud