projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f7c5a
)
xen/acpi: Replace hard coded "ACPI0007"
author
Ankur Arora
<
[email protected]
>
Tue, 21 Mar 2017 22:43:37 +0000
(15:43 -0700)
committer
Boris Ostrovsky
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Ankur Arora <
[email protected]
>
Signed-off-by: Boris Ostrovsky <
[email protected]
>
drivers/xen/xen-acpi-processor.c
patch
|
blob
|
history
diff --git
a/drivers/xen/xen-acpi-processor.c
b/drivers/xen/xen-acpi-processor.c
index 4ce10bcca18b1f600c351675142240dbe94a4022..fac0d7b0edf763052151cb6f062e436086569f1c 100644
(file)
--- 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)) {