--- zzzz-none-000/linux-4.1.52/arch/arm/kernel/smp.c 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/arm/kernel/smp.c 2022-03-02 11:37:12.000000000 +0000 @@ -28,6 +28,9 @@ #include #include +#if defined(CONFIG_BCM_KF_SPECTRE_PATCH) && defined(CONFIG_BCM_SPECTRE_PATCH_ENABLE) +#include +#endif #include #include #include @@ -379,6 +382,9 @@ * before we continue - which happens after __cpu_up returns. */ set_cpu_online(cpu, true); +#if defined(CONFIG_BCM_KF_SPECTRE_PATCH) && defined(CONFIG_BCM_SPECTRE_PATCH_ENABLE) + check_other_bugs(); +#endif complete(&cpu_running); local_irq_enable();