Commit 11e03130 authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Michal Simek

arm: zynq: platsmp: Remove CPU presence check

The generic code already checks that the CPU being requested is legal if
the cpu possible/present masks are set correctly.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 6ce4eac1
...@@ -39,11 +39,6 @@ int zynq_cpun_start(u32 address, int cpu) ...@@ -39,11 +39,6 @@ int zynq_cpun_start(u32 address, int cpu)
u32 trampoline_code_size = &zynq_secondary_trampoline_end - u32 trampoline_code_size = &zynq_secondary_trampoline_end -
&zynq_secondary_trampoline; &zynq_secondary_trampoline;
if (cpu > ncores) {
pr_warn("CPU No. is not available in the system\n");
return -1;
}
/* MS: Expectation that SLCR are directly map and accessible */ /* MS: Expectation that SLCR are directly map and accessible */
/* Not possible to jump to non aligned address */ /* Not possible to jump to non aligned address */
if (!(address & 3) && (!address || (address >= trampoline_code_size))) { if (!(address & 3) && (!address || (address >= trampoline_code_size))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment