Selaa lähdekoodia

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

Commit 1754c42e3db5("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: Abhilash Kesavan <a.kesavan@samsung.com>
Reviewed-by: Sachin Kamat <sachin.kamat@samsug.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Abhilash Kesavan 11 vuotta sitten
vanhempi
commit
73ea6ec66a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      arch/arm/mach-exynos/exynos.c

+ 1 - 1
arch/arm/mach-exynos/exynos.c

@@ -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();