]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
ppc/boot: Run constructors on boot
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 May 2024 10:38:37 +0000 (11:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 30 May 2024 11:15:25 +0000 (12:15 +0100)
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 <andrew.cooper3@citrix.com>
Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
Release-acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
xen/arch/ppc/setup.c

index 101bdd8bb648be7c7f1ac6e426e51460ab7cec4c..7fe06aa4bfb0334ba5890bd3d4f4f9e89a4c604f 100644 (file)
@@ -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 ( ; ; )