[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 2/2] xen: enforce __init in common/device-tree/*-build.c
On Tue, 13 May 2025, Stewart Hildebrand wrote: > 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 831b91399b74..ff54a8ef2bee 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 > -- > 2.49.0 >
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |