kernel/arch/mips/kernel/smp-cps.c
.. .. @@ -423,9 +423,11 @@ 423 423 wmb(); 424 424 } 425 425 } else { 426 - pr_debug("Gating power to core %d\n", core);427 - /* Power down the core */428 - cps_pm_enter_state(CPS_PM_POWER_GATED);426 + if (IS_ENABLED(CONFIG_HOTPLUG_CPU)) {427 + pr_debug("Gating power to core %d\n", core);428 + /* Power down the core */429 + cps_pm_enter_state(CPS_PM_POWER_GATED);430 + }429 431 } 430 432 } 431 433