From: Rob Herring <rob.herring@xxxxxxxxxxx> Convert Versatile Express to use common scu_init_cpus function. Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx> --- arch/arm/mach-vexpress/ct-ca9x4.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-vexpress/ct-ca9x4.c b/arch/arm/mach-vexpress/ct-ca9x4.c index a96772d..4d1476f 100644 --- a/arch/arm/mach-vexpress/ct-ca9x4.c +++ b/arch/arm/mach-vexpress/ct-ca9x4.c @@ -206,10 +206,7 @@ static void __init ct_ca9x4_init(void) #ifdef CONFIG_SMP static void ct_ca9x4_init_cpu_map(void) { - int i, ncores = scu_get_core_count(MMIO_P2V(A9_MPCORE_SCU)); - - for (i = 0; i < ncores; ++i) - set_cpu_possible(i, true); + scu_init_cpus(MMIO_P2V(A9_MPCORE_SCU)); } static void ct_ca9x4_smp_enable(unsigned int max_cpus) -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html