diff options
| author | Ankur Arora <[email protected]> | 2017-03-21 22:43:37 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2017-03-23 13:42:15 +0000 |
| commit | 1c2593cc8fd5960f8861de1be67135851f884836 (patch) | |
| tree | cd900edef78e08b59b3fe41d67f8178f7e320ecd /drivers/xen/xen-acpi-processor.c | |
| parent | drivers, xen: convert grant_map.users from atomic_t to refcount_t (diff) | |
| download | kernel-1c2593cc8fd5960f8861de1be67135851f884836.tar.gz kernel-1c2593cc8fd5960f8861de1be67135851f884836.zip | |
xen/acpi: Replace hard coded "ACPI0007"
Replace hard coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Ankur Arora <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
| -rw-r--r-- | drivers/xen/xen-acpi-processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index 4ce10bcca18b..fac0d7b0edf7 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)) { |
