[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/arm: mark handle_linux_pci_domain() __init
commit e0347046445a2c6245f6a04093e7e831100611a1 Author: Stewart Hildebrand <stewart.hildebrand@xxxxxxx> AuthorDate: Fri Oct 14 16:09:26 2022 -0400 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Fri Oct 21 11:09:59 2022 +0100 xen/arm: mark handle_linux_pci_domain() __init All functions in domain_build.c should be marked __init. This was spotted when building the hypervisor with -Og. Fixes: 1050a7b91c2e ("xen/arm: add pci-domain for disabled devices") Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> Release-acked-by: Henry Wang <Henry.Wang@xxxxxxx> --- xen/arch/arm/domain_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index db97536fe8..4fb5c20b13 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1051,8 +1051,8 @@ static void __init assign_static_memory_11(struct domain *d, * The current heuristic assumes that a device is a host bridge * if the type is "pci" and then parent type is not "pci". */ -static int handle_linux_pci_domain(struct kernel_info *kinfo, - const struct dt_device_node *node) +static int __init handle_linux_pci_domain(struct kernel_info *kinfo, + const struct dt_device_node *node) { uint16_t segment; int res; -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |