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>
This commit is contained in:
parent
9f4f5d26c6
commit
2605f85275
|
@ -109,15 +109,6 @@ static void __init zynq_smp_init_cpus(void)
|
||||||
|
|
||||||
static void __init zynq_smp_prepare_cpus(unsigned int max_cpus)
|
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);
|
scu_enable(zynq_scu_base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue