Message ID | 1304129297-6614-8-git-send-email-robherring2@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
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)