[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.19] x86/PVH: mark pvh_setup_mmcfg() __init



commit bc8363a41a8992b4eade2d059b74acaa1887fadc
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Tue Jan 13 15:50:54 2026 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Jan 13 15:50:54 2026 +0100

    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: be52cb139f57a ("x86/mmcfg: add handlers for the PVH Dom0 MMCFG 
areas")
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    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;
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.19



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.