Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / mach-zynq / headsmp.S
blob3449e0d1f9900db4890489dd39a77ffc05599115
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4  * Copyright (c) 2012-2013 Xilinx
5  */
6 #include <linux/linkage.h>
7 #include <linux/init.h>
8 #include <asm/assembler.h>
10         .arm
12 ENTRY(zynq_secondary_trampoline)
13 ARM_BE8(setend  be)                             @ ensure we are in BE8 mode
14         ldr     r0, zynq_secondary_trampoline_jump
15 ARM_BE8(rev     r0, r0)
16         bx      r0
17 .globl zynq_secondary_trampoline_jump
18 zynq_secondary_trampoline_jump:
19         /* Space for jumping address */
20         .word   0       /* cpu 1 */
21 .globl zynq_secondary_trampoline_end
22 zynq_secondary_trampoline_end:
23 ENDPROC(zynq_secondary_trampoline)