diff options
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r-- | drivers/acpi/processor_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index ee68ac54c0d4..8a2787141f80 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -563,7 +563,7 @@ static int acpi_processor_get_info(struct acpi_processor *pr, unsigned has_uid) | |||
563 | 563 | ||
564 | /* Check if it is a Device with HID and UID */ | 564 | /* Check if it is a Device with HID and UID */ |
565 | if (has_uid) { | 565 | if (has_uid) { |
566 | unsigned long value; | 566 | unsigned long long value; |
567 | status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, | 567 | status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, |
568 | NULL, &value); | 568 | NULL, &value); |
569 | if (ACPI_FAILURE(status)) { | 569 | if (ACPI_FAILURE(status)) { |
@@ -875,7 +875,7 @@ static int acpi_processor_remove(struct acpi_device *device, int type) | |||
875 | static int is_processor_present(acpi_handle handle) | 875 | static int is_processor_present(acpi_handle handle) |
876 | { | 876 | { |
877 | acpi_status status; | 877 | acpi_status status; |
878 | unsigned long sta = 0; | 878 | unsigned long long sta = 0; |
879 | 879 | ||
880 | 880 | ||
881 | status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); | 881 | status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); |