--- zzzz-none-000/linux-4.9.218/arch/mips/kernel/smp.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/arch/mips/kernel/smp.c 2023-03-29 10:59:06.000000000 +0000 @@ -47,6 +47,9 @@ #include #include #include +#ifdef CONFIG_AVM_IPI_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_IPI_YIELD + avm_yield_setup(); +#endif } /* called from main before smp_init() */