--- zzzz-none-000/linux-4.9.231/arch/mips/kernel/smp.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/arch/mips/kernel/smp.c 2022-03-30 12:03:33.000000000 +0000 @@ -47,6 +47,9 @@ #include #include #include +#ifdef CONFIG_AVM_YIELD +#include +#endif cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ @@ -420,6 +423,9 @@ void __init smp_cpus_done(unsigned int max_cpus) { +#ifdef CONFIG_AVM_YIELD + avm_yield_setup(); +#endif } /* called from main before smp_init() */