Skip to content

Commit cfdb04d

Browse files
committed
ARM: rockchip: Fix secondary CPU startup in thumb2 kernel
The secondary CPU starts up in ARM mode. When the kernel is compiled in thumb2 mode we have to explicitly compile the secondary startup trampoline in ARM mode. Change-Id: I52d2167ab4c4e1da5ac1a800390ab04ba724dd72 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 8abc733 commit cfdb04d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm/mach-rockchip/headsmp.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include <linux/linkage.h>
1616
#include <linux/init.h>
1717

18+
.arm
19+
1820
ENTRY(rockchip_secondary_trampoline)
1921
ldr pc, 1f
2022
ENDPROC(rockchip_secondary_trampoline)

0 commit comments

Comments
 (0)