ARM: EXYNOS: Fix the check for non-smp configuration
Subsystems (3)
PATCH 1/1 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.
--- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-exynos/exynos.c +1 -1
@@ -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 ();
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: EXYNOS: Fix the check for non-smp configuration
Quoted 24 lines · Abhilash Kesavan
Commit 1754c42e3db5("ARM: exynos: move sysram info to
exynos.c") missed out theCONFIG_prefix causingexynos_sysram_init()to get called twice for SMP configurations.Signed-off-by Abhilash Kesavan <[email protected]>--- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-exynos/exynos.c +1
-2@@ -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 (); --
Quoted 1 line
1.7.9.5
Oh, OK. will apply into fixes.
Thanks,
Kukjin
PATCH 1/1 ARM: EXYNOS: Fix the check for non-smp configuration
In reply to Abhilash KesavanQuoted 14 lines · Abhilash Kesavan
Commit 1754c42e3db5("ARM: exynos: move sysram info to
exynos.c") missed out theCONFIG_prefix causingexynos_sysram_init()to get called twice for SMP configurations.Signed-off-by Abhilash Kesavan <[email protected]>--- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-exynos/exynos.c +0
-0
arch/arm/mach-exynos/exynos.c static void __init exynos_dt_machine_init(void) · line 303
Quoted 8 lines
arch/arm/mach-exynos/exynos.c +1
-1@@ -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 ();
If it's not too late
Signature · 2 lines
Regards, Sachin.