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

[xen staging] xen: enforce __init in common/device-tree/*-build.c



commit fcf7cf21594116b4b7303ea2a4602ba9f97d10ab
Author:     Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
AuthorDate: Tue May 13 13:18:03 2025 -0400
Commit:     Michal Orzel <michal.orzel@xxxxxxx>
CommitDate: Wed May 28 10:32:19 2025 +0200

    xen: enforce __init in common/device-tree/*-build.c
    
    Code in domain-build.c and dom0less-build.c was migrated from init-only
    files. Thus, they contain only __init functions. Enforce this at build
    time.
    
    Fixes: ad03faa942b9 ("xen/common: dom0less: make some parts of Arm's 
CONFIG_DOM0LESS common")
    Fixes: d07b7369aa65 ("xen/common: dom0less: introduce common 
domain-build.c")
    Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/common/device-tree/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/common/device-tree/Makefile b/xen/common/device-tree/Makefile
index 831b91399b..ff54a8ef2b 100644
--- a/xen/common/device-tree/Makefile
+++ b/xen/common/device-tree/Makefile
@@ -1,8 +1,8 @@
 obj-y += bootfdt.init.o
 obj-y += bootinfo.init.o
 obj-y += device-tree.o
-obj-$(CONFIG_DOMAIN_BUILD_HELPERS) += domain-build.o
-obj-$(CONFIG_DOM0LESS_BOOT) += dom0less-build.o
+obj-$(CONFIG_DOMAIN_BUILD_HELPERS) += domain-build.init.o
+obj-$(CONFIG_DOM0LESS_BOOT) += dom0less-build.init.o
 obj-$(CONFIG_OVERLAY_DTB) += dt-overlay.o
 obj-y += intc.o
 obj-$(CONFIG_DOMAIN_BUILD_HELPERS) += kernel.o
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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