x86/PVH: mark pvh_setup_mmcfg() __init

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: be52cb139f ("x86/mmcfg: add handlers for the PVH Dom0 MMCFG areas")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
master commit: bdd5f35cf2
master date: 2026-01-08 11:05:30 +0100
This commit is contained in:
Jan Beulich committed 2026-01-13 15:50:54 +01:00
1 parent 999fdfb104
commit bc8363a41a
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.