Commit 978489b9 authored by Andy Grover's avatar Andy Grover

ACPI: It is OK to not have a _PPC, so don't error out if it's not found

parent 992f378d
......@@ -763,7 +763,7 @@ acpi_processor_get_platform_limit (
* (e.g. 0 = states 0..n; 1 = states 1..n; etc.
*/
status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc);
if(ACPI_FAILURE(status)) {
if(ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _PPC\n"));
return_VALUE(-ENODEV);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment