From: Andrew Cooper Date: Fri, 24 May 2024 10:38:37 +0000 (+0100) Subject: ppc/boot: Run constructors on boot X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e807b137f7e75fa3d78137a6c95b689630a72727;p=people%2Froyger%2Fxen.git ppc/boot: Run constructors on boot PPC collects constructors, but doesn't run them yet. Do so. They'll shortly be used to confirm correct behaviour of the bitops primitives. Signed-off-by: Andrew Cooper Acked-by: Shawn Anastasio Release-acked-by: Oleksii Kurochko --- diff --git a/xen/arch/ppc/setup.c b/xen/arch/ppc/setup.c index 101bdd8bb6..7fe06aa4bf 100644 --- a/xen/arch/ppc/setup.c +++ b/xen/arch/ppc/setup.c @@ -39,6 +39,8 @@ void __init noreturn start_xen(unsigned long r3, unsigned long r4, setup_initial_pagetables(); + init_constructors(); + early_printk("Hello, ppc64le!\n"); for ( ; ; )