Merge tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / arch / powerpc / kernel / smp.c
index 35f101ccb540d95a7a4029f168ca6a0e16c5e74a..265801a3e94cfe883966bc7a52b3634c9f25ccc0 100644 (file)
@@ -1613,7 +1613,7 @@ void start_secondary(void *unused)
        if (IS_ENABLED(CONFIG_PPC32))
                setup_kup();
 
-       mmgrab(&init_mm);
+       mmgrab_lazy_tlb(&init_mm);
        current->active_mm = &init_mm;
 
        smp_store_cpu_info(cpu);
@@ -1754,7 +1754,7 @@ void __cpu_die(unsigned int cpu)
                smp_ops->cpu_die(cpu);
 }
 
-void arch_cpu_idle_dead(void)
+void __noreturn arch_cpu_idle_dead(void)
 {
        /*
         * Disable on the down path. This will be re-enabled by