ARM: exynos: Check the number of core and initialize CPU possible map
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Jul 2014 02:01:36 +0000 (11:01 +0900)
committerChanho Park <chanho61.park@samsung.com>
Fri, 8 Aug 2014 06:25:36 +0000 (15:25 +0900)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
arch/arm/mach-exynos/platsmp.c

index 8da3ec0..aad827f 100644 (file)
@@ -181,7 +181,7 @@ static void __init exynos_smp_init_cpus(void)
        void __iomem *scu_base = scu_base_addr();
        unsigned int i, ncores;
 
-       if (soc_is_exynos5250())
+       if (soc_is_exynos3250() || soc_is_exynos5250())
                ncores = 2;
        else
                ncores = scu_base ? scu_get_core_count(scu_base) : 1;