From: fengchengwen <fengchengwen@huawei.com>
To: Arnd Bergmann <arnd@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Len Brown <lenb@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Gavin Shan <gshan@redhat.com>,
Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>,
James Morse <james.morse@arm.com>, Marc Zyngier <maz@kernel.org>,
Kees Cook <kees@kernel.org>, Ben Horgan <ben.horgan@arm.com>,
Dave Jiang <dave.jiang@intel.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
<linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ACPI: add acpi_get_cpu_uid() stub helper
Date: Mon, 13 Apr 2026 19:41:52 +0800 [thread overview]
Message-ID: <97c186b3-e9dc-464e-af0b-934aaa5a9538@huawei.com> (raw)
In-Reply-To: <20260413070132.3828606-1-arnd@kernel.org>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Thanks
On 4/13/2026 3:01 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> When ACPI is disabled, x86 Xen support fails to build:
>
> arch/x86/xen/enlighten_hvm.c: In function 'xen_cpu_up_prepare_hvm':
> arch/x86/xen/enlighten_hvm.c:165:13: error: implicit declaration of function 'acpi_get_cpu_uid' [-Wimplicit-function-declaration]
> 165 | if (acpi_get_cpu_uid(cpu, &cpu_uid) == 0)
> | ^~~~~~~~~~~~~~~~
>
> Add a trivial stub that can be used in place of the real function.
>
> Fixes: f652d0a4e13c ("ACPI: Centralize acpi_get_cpu_uid() declaration in include/linux/acpi.h")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
...
prev parent reply other threads:[~2026-04-13 11:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 7:01 [PATCH] ACPI: add acpi_get_cpu_uid() stub helper Arnd Bergmann
2026-04-13 11:41 ` fengchengwen [this message]
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=97c186b3-e9dc-464e-af0b-934aaa5a9538@huawei.com \
--to=fengchengwen@huawei.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=ben.horgan@arm.com \
--cc=catalin.marinas@arm.com \
--cc=dave.jiang@intel.com \
--cc=gshan@redhat.com \
--cc=james.morse@arm.com \
--cc=jonathan.cameron@huawei.com \
--cc=kees@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=rafael@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tan.shaopeng@jp.fujitsu.com \
/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