diff options
Diffstat (limited to 'arch/arm64/kernel/entry.S')
-rw-r--r-- | arch/arm64/kernel/entry.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index e8b23a3b68d0..be95f3544ce4 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S | |||
@@ -610,8 +610,9 @@ el0_svc_naked: // compat entry point | |||
610 | stp x0, scno, [sp, #S_ORIG_X0] // save the original x0 and syscall number | 610 | stp x0, scno, [sp, #S_ORIG_X0] // save the original x0 and syscall number |
611 | enable_dbg_and_irq | 611 | enable_dbg_and_irq |
612 | 612 | ||
613 | ldr x16, [tsk, #TI_FLAGS] // check for syscall tracing | 613 | ldr x16, [tsk, #TI_FLAGS] // check for syscall hooks |
614 | tbnz x16, #TIF_SYSCALL_TRACE, __sys_trace // are we tracing syscalls? | 614 | tst x16, #_TIF_SYSCALL_WORK |
615 | b.ne __sys_trace | ||
615 | adr lr, ret_fast_syscall // return address | 616 | adr lr, ret_fast_syscall // return address |
616 | cmp scno, sc_nr // check upper syscall limit | 617 | cmp scno, sc_nr // check upper syscall limit |
617 | b.hs ni_sys | 618 | b.hs ni_sys |