xen/acpi: Replace hard coded "ACPI0007"
authorAnkur Arora <ankur.a.arora@oracle.com>
Tue, 21 Mar 2017 22:43:37 +0000 (15:43 -0700)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 23 Mar 2017 13:42:15 +0000 (09:42 -0400)
Replace hard coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/xen-acpi-processor.c

index 4ce10bcca18b1f600c351675142240dbe94a4022..fac0d7b0edf763052151cb6f062e436086569f1c 100644 (file)
@@ -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)) {