From bc8363a41a8992b4eade2d059b74acaa1887fadc Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 13 Jan 2026 15:50:54 +0100 Subject: [PATCH] x86/PVH: mark pvh_setup_mmcfg() __init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Its sole caller is, and the wrong annotation would cause a build failure (non-empty .text) if the compiler chose to not inline the function when at the same time LATE_HWDOM=y. Fixes: be52cb139f57a ("x86/mmcfg: add handlers for the PVH Dom0 MMCFG areas") Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné master commit: bdd5f35cf20c7397a7f74fb80446c136688e3145 master date: 2026-01-08 11:05:30 +0100 --- xen/arch/x86/hvm/dom0_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c index a965cff45f..82cda30343 100644 --- a/xen/arch/x86/hvm/dom0_build.c +++ b/xen/arch/x86/hvm/dom0_build.c @@ -1310,7 +1310,7 @@ static int __init pvh_setup_acpi(struct domain *d, paddr_t start_info) return 0; } -static void __hwdom_init pvh_setup_mmcfg(struct domain *d) +static void __init pvh_setup_mmcfg(struct domain *d) { unsigned int i; int rc;