From: Ankur Arora Date: Tue, 21 Mar 2017 22:43:37 +0000 (-0700) Subject: xen/acpi: Replace hard coded "ACPI0007" X-Git-Tag: v4.1.12-111.0.20170918_2215~233 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2778db3b5e6806fb1200a0ea27181e55a32e5c40;p=users%2Fjedix%2Flinux-maple.git xen/acpi: Replace hard coded "ACPI0007" Replace hard coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Ankur Arora Signed-off-by: Boris Ostrovsky OraBug: 26662731 (cherry picked from commit 1c2593cc8fd5960f8861de1be67135851f884836) Signed-off-by: Boris Ostrovsky Reviewed-by: Joao Martins --- diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index 8f4941b77a31d..c98e5d605fda3 100644 --- a/drivers/xen/xen-acpi-processor.c +++ b/drivers/xen/xen-acpi-processor.c @@ -408,7 +408,7 @@ static int check_acpi_ids(struct acpi_processor *pr_backup) acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, read_acpi_id, NULL, NULL, NULL); - acpi_get_devices("ACPI0007", read_acpi_id, NULL, NULL); + acpi_get_devices(ACPI_PROCESSOR_DEVICE_HID, read_acpi_id, NULL, NULL); upload: if (!bitmap_equal(acpi_id_present, acpi_ids_done, nr_acpi_bits)) {