From 2605f85275a7d5ccc5a59b05eed139656ad4e8a2 Mon Sep 17 00:00:00 2001 From: Sudeep KarkadaNagesha Date: Tue, 23 Jul 2013 12:32:44 +0100 Subject: ARM: zynq: remove unnecessary setting of cpu_present_mask This patch also removes setting cpu_present_mask as platforms should only re-initialize it in smp_prepare_cpus() if present != possible. Cc: Michal Simek Signed-off-by: Sudeep KarkadaNagesha Signed-off-by: Michal Simek --- arch/arm/mach-zynq/platsmp.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'arch/arm/mach-zynq') diff --git a/arch/arm/mach-zynq/platsmp.c b/arch/arm/mach-zynq/platsmp.c index 8021499e7b7..abc82ef085c 100644 --- a/arch/arm/mach-zynq/platsmp.c +++ b/arch/arm/mach-zynq/platsmp.c @@ -109,15 +109,6 @@ static void __init zynq_smp_init_cpus(void) static void __init zynq_smp_prepare_cpus(unsigned int max_cpus) { - int i; - - /* - * Initialise the present map, which describes the set of CPUs - * actually populated at the present time. - */ - for (i = 0; i < max_cpus; i++) - set_cpu_present(i, true); - scu_enable(zynq_scu_base); } -- cgit v1.2.3-18-g5258