Skip to content

Commit 6b47037

Browse files
committed
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fix from Russell King: "Just a single fix this time around for recent binutils causing build problems when generating Thumb-2 code" * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm: ARM: 8781/1: Fix Thumb-2 syscall return for binutils 2.29+
2 parents 8b11ec1 + afc9f65 commit 6b47037

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/kernel/entry-common.S

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ saved_pc .req lr
4848
* from those features make this path too inefficient.
4949
*/
5050
ret_fast_syscall:
51+
__ret_fast_syscall:
5152
UNWIND(.fnstart )
5253
UNWIND(.cantunwind )
5354
disable_irq_notrace @ disable interrupts
@@ -78,6 +79,7 @@ fast_work_pending:
7879
* call.
7980
*/
8081
ret_fast_syscall:
82+
__ret_fast_syscall:
8183
UNWIND(.fnstart )
8284
UNWIND(.cantunwind )
8385
str r0, [sp, #S_R0 + S_OFF]! @ save returned r0
@@ -255,7 +257,7 @@ local_restart:
255257
tst r10, #_TIF_SYSCALL_WORK @ are we tracing syscalls?
256258
bne __sys_trace
257259

258-
invoke_syscall tbl, scno, r10, ret_fast_syscall
260+
invoke_syscall tbl, scno, r10, __ret_fast_syscall
259261

260262
add r1, sp, #S_OFF
261263
2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)

0 commit comments

Comments
 (0)