aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2013-10-31 13:37:09 -0400
committerMichal Simek <michal.simek@xilinx.com>2013-12-10 08:17:53 -0500
commit11e031308ba660b31ffaf31f0295a2c1c358b574 (patch)
tree5f51ca531db5a4414b9c323fb291bab737b2e383
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
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: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/arm/mach-zynq/platsmp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-zynq/platsmp.c b/arch/arm/mach-zynq/platsmp.c
index 689fbbc3d9c8..03a62d5df8f4 100644
--- a/arch/arm/mach-zynq/platsmp.c
+++ b/arch/arm/mach-zynq/platsmp.c
@@ -39,11 +39,6 @@ int zynq_cpun_start(u32 address, int cpu)
39 u32 trampoline_code_size = &zynq_secondary_trampoline_end - 39 u32 trampoline_code_size = &zynq_secondary_trampoline_end -
40 &zynq_secondary_trampoline; 40 &zynq_secondary_trampoline;
41 41
42 if (cpu > ncores) {
43 pr_warn("CPU No. is not available in the system\n");
44 return -1;
45 }
46
47 /* MS: Expectation that SLCR are directly map and accessible */ 42 /* MS: Expectation that SLCR are directly map and accessible */
48 /* Not possible to jump to non aligned address */ 43 /* Not possible to jump to non aligned address */
49 if (!(address & 3) && (!address || (address >= trampoline_code_size))) { 44 if (!(address & 3) && (!address || (address >= trampoline_code_size))) {