]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: zynq: reserve space for jump target in secondary trampoline
authorNathan Lynch <nathan_lynch@mentor.com>
Fri, 17 Jul 2015 21:01:02 +0000 (16:01 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 31 Jul 2015 08:24:41 +0000 (10:24 +0200)
Add a zero argument to the .word directive in
zynq_secondary_trampoline.  Without an expression the assembler emits
nothing for the .word directive.

This makes it so that the intended range is communicated to ioremap
and outer_flush_range in zynq_cpun_start; e.g. for LE
trampoline_code_size evaluates to 12 now instead of 8.

Found by inspection.  I'm not aware of any real problem this fixes.
Tested by doing on online/offline loop on ZC702.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/headsmp.S

index 045c72720a4d5e1c69dd22efd3fdbfdcfe811184..f6d5de073e348e9f0bf4534571d7c214ad02543a 100644 (file)
@@ -18,7 +18,7 @@ ARM_BE8(rev   r0, r0)
 .globl zynq_secondary_trampoline_jump
 zynq_secondary_trampoline_jump:
        /* Space for jumping address */
-       .word   /* cpu 1 */
+       .word   0       /* cpu 1 */
 .globl zynq_secondary_trampoline_end
 zynq_secondary_trampoline_end:
 ENDPROC(zynq_secondary_trampoline)