summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAbhilash Kesavan <a.kesavan@samsung.com>2014-07-05 06:09:18 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-07-05 06:09:18 +0900
commit73ea6ec66a9f6b81335e55ca642f25172c283b20 (patch)
treece3e4c6c470d2af1016a530dbbf58b3e5a86ec24 /arch
parent4c834452aad01531db949414f94f817a86348d59 (diff)
downloadop-kernel-dev-73ea6ec66a9f6b81335e55ca642f25172c283b20.zip
op-kernel-dev-73ea6ec66a9f6b81335e55ca642f25172c283b20.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/exynos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index f38cf7c1..95cad25 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/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
* 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_cpuidle_init();
OpenPOWER on IntegriCloud