summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/trusted_foundations.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/trusted_foundations.h')
-rw-r--r--arch/arm/include/asm/trusted_foundations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/trusted_foundations.h b/arch/arm/include/asm/trusted_foundations.h
index b5f7705abcb0..624e1d436c6c 100644
--- a/arch/arm/include/asm/trusted_foundations.h
+++ b/arch/arm/include/asm/trusted_foundations.h
@@ -54,7 +54,9 @@ static inline void register_trusted_foundations(
*/
pr_err("No support for Trusted Foundations, continuing in degraded mode.\n");
pr_err("Secondary processors as well as CPU PM will be disabled.\n");
+#if IS_ENABLED(CONFIG_SMP)
setup_max_cpus = 0;
+#endif
cpu_idle_poll_ctrl(true);
}