提交 73ea6ec6 编写于 作者: A Abhilash Kesavan 提交者: Kukjin Kim

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: NAbhilash Kesavan <a.kesavan@samsung.com>
Reviewed-by: NSachin Kamat <sachin.kamat@samsug.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 4c834452
...@@ -297,7 +297,7 @@ static void __init exynos_dt_machine_init(void) ...@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册