mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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:bdd5f35cf2master date: 2026-01-08 11:05:30 +0100
This commit is contained in:
1 parent
999fdfb104
commit
bc8363a41a
1 file changed
+1
-1
@@ -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;
|
||||
|
||||