Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73ea6ec6 authored by Abhilash Kesavan's avatar Abhilash Kesavan Committed by Kukjin Kim
Browse files

ARM: EXYNOS: Fix the check for non-smp configuration



Commit 1754c42e("ARM: exynos: move sysram info to exynos.c") missed
out the CONFIG_ prefix causing exynos_sysram_init() to get called twice
for SMP configurations.

Signed-off-by: default avatarAbhilash Kesavan <a.kesavan@samsung.com>
Reviewed-by: default avatarSachin Kamat <sachin.kamat@samsug.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 4c834452
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -297,7 +297,7 @@ static void __init exynos_dt_machine_init(void)
	 * This is called from smp_prepare_cpus if we've built for SMP, but
	 * This is called from smp_prepare_cpus if we've built for SMP, but
	 * we still need to set it up for PM and firmware ops if not.
	 * we still need to set it up for PM and firmware ops if not.
	 */
	 */
	if (!IS_ENABLED(SMP))
	if (!IS_ENABLED(CONFIG_SMP))
		exynos_sysram_init();
		exynos_sysram_init();


	exynos_cpuidle_init();
	exynos_cpuidle_init();