]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
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>
Mon, 20 Jul 2015 08:28:03 +0000 (10:28 +0200)
commit3821a7bfdf7a4c697cac62f0157d8bf49467ea67
tree7a05b162e0152135b6a5816c35f6debc260482c0
parent322efaa3c77a57a4073188134b3851d8697233e3
ARM: zynq: reserve space for jump target in secondary trampoline

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