diff options
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r-- | drivers/acpi/processor_core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 99d1516d1e70..f7de02a6f497 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -70,8 +70,6 @@ | |||
70 | #define ACPI_PROCESSOR_LIMIT_USER 0 | 70 | #define ACPI_PROCESSOR_LIMIT_USER 0 |
71 | #define ACPI_PROCESSOR_LIMIT_THERMAL 1 | 71 | #define ACPI_PROCESSOR_LIMIT_THERMAL 1 |
72 | 72 | ||
73 | #define ACPI_STA_PRESENT 0x00000001 | ||
74 | |||
75 | #define _COMPONENT ACPI_PROCESSOR_COMPONENT | 73 | #define _COMPONENT ACPI_PROCESSOR_COMPONENT |
76 | ACPI_MODULE_NAME("processor_core"); | 74 | ACPI_MODULE_NAME("processor_core"); |
77 | 75 | ||
@@ -779,7 +777,7 @@ static int is_processor_present(acpi_handle handle) | |||
779 | 777 | ||
780 | 778 | ||
781 | status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); | 779 | status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); |
782 | if (ACPI_FAILURE(status) || !(sta & ACPI_STA_PRESENT)) { | 780 | if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_PRESENT)) { |
783 | ACPI_EXCEPTION((AE_INFO, status, "Processor Device is not present")); | 781 | ACPI_EXCEPTION((AE_INFO, status, "Processor Device is not present")); |
784 | return 0; | 782 | return 0; |
785 | } | 783 | } |