aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/entry-common.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/entry-common.S')
-rw-r--r--arch/arm/kernel/entry-common.S14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
index 10911c93fbf1..49d9f9305247 100644
--- a/arch/arm/kernel/entry-common.S
+++ b/arch/arm/kernel/entry-common.S
@@ -442,10 +442,9 @@ ENDPROC(vector_swi)
442 * context switches, and waiting for our parent to respond. 442 * context switches, and waiting for our parent to respond.
443 */ 443 */
444__sys_trace: 444__sys_trace:
445 mov r2, scno 445 mov r1, scno
446 add r1, sp, #S_OFF 446 add r0, sp, #S_OFF
447 mov r0, #0 @ trace entry [IP = 0] 447 bl syscall_trace_enter
448 bl syscall_trace
449 448
450 adr lr, BSYM(__sys_trace_return) @ return address 449 adr lr, BSYM(__sys_trace_return) @ return address
451 mov scno, r0 @ syscall number (possibly new) 450 mov scno, r0 @ syscall number (possibly new)
@@ -457,10 +456,9 @@ __sys_trace:
457 456
458__sys_trace_return: 457__sys_trace_return:
459 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0 458 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0
460 mov r2, scno 459 mov r1, scno
461 mov r1, sp 460 mov r0, sp
462 mov r0, #1 @ trace exit [IP = 1] 461 bl syscall_trace_exit
463 bl syscall_trace
464 b ret_slow_syscall 462 b ret_slow_syscall
465 463
466 .align 5 464 .align 5