From: Ankur Arora <ankur.a.arora@oracle.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Cc: Ankur Arora <ankur.a.arora@oracle.com>
Subject: [PATCH 1/2 v2] xen/acpi: Replace hard coded "ACPI0007"
Date: Tue, 21 Mar 2017 15:43:37 -0700 [thread overview]
Message-ID: <1490136218-3857-2-git-send-email-ankur.a.arora@oracle.com> (raw)
In-Reply-To: <1490136218-3857-1-git-send-email-ankur.a.arora@oracle.com>
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>
---
drivers/xen/xen-acpi-processor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c
index 4ce10bc..fac0d7b 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)) {
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-03-21 22:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-21 22:43 [PATCH 0/2 v2] xen/acpi: upload PM state from init-domain to Xen Ankur Arora
2017-03-21 22:43 ` Ankur Arora [this message]
2017-03-21 22:43 ` [PATCH 2/2 " Ankur Arora
2017-03-22 9:05 ` Stanislaw Gruszka
[not found] ` <20170322090541.GA2860@redhat.com>
2017-03-22 17:56 ` Ankur Arora
[not found] ` <a1f0404e-899e-8d56-ef65-858dacecb62d@oracle.com>
2017-03-23 13:12 ` Stanislaw Gruszka
2017-03-23 16:45 ` [PATCH 0/2 " Boris Ostrovsky
[not found] ` <021f12d7-62b6-80d6-7fd4-cc9bb2681122@oracle.com>
2017-03-24 14:09 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490136218-3857-2-git-send-email-ankur.a.arora@oracle.com \
--to=ankur.a.arora@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).