diff --git a/init/main.c b/init/main.c index 5d9fd53c3073..643ed89b2e4c 100644 --- a/init/main.c +++ b/init/main.c @@ -1042,6 +1042,8 @@ void start_kernel(void) sched_clock_init(); calibrate_delay(); + arch_cpu_finalize_init(); + /* * This needs to be called before any devices perform DMA * operations that might use the SWIOTLB bounce buffers. It will @@ -1078,8 +1080,6 @@ void start_kernel(void) taskstats_init_early(); delayacct_init(); - arch_cpu_finalize_init(); - acpi_subsystem_init(); arch_post_acpi_subsys_init(); kcsan_init();