diff options
author | Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com> | 2013-07-23 12:32:44 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-12-10 14:20:25 +0100 |
commit | 2605f85275a7d5ccc5a59b05eed139656ad4e8a2 (patch) | |
tree | 7ea99a7bb6578ee038a0e8dd84b92b94450e4f9f /arch/arm/mach-zynq | |
parent | 9f4f5d26c66153bc63ea60f4f05dd6f19e9e7b48 (diff) |
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 <michal.simek@xilinx.com>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r-- | arch/arm/mach-zynq/platsmp.c | 9 |
1 files changed, 0 insertions, 9 deletions
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); } |