Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
arch/arm/include/asm/syscall.h | 2 +-
arch/arm/kernel/entry-common.S | 10 +++++-----
arch/arm/kernel/syscall.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
@@ -19,7 +19,7 @@
extern const unsigned long sys_call_table[];
-int invoke_syscall_trace(void *table, struct pt_regs *regs, int scno);
+int invoke_syscall(void *table, struct pt_regs *regs, int scno);
static inline int syscall_get_nr(struct task_struct *task,
struct pt_regs *regs)
@@ -260,7 +260,7 @@ ENTRY(vector_swi)
stmdb sp!, {r4, r5} @ push fifth and sixth args
mov r0, tbl
mov r2, scno @ syscall number from r7
- bl invoke_syscall_trace
+ bl invoke_syscall
cmp r0, #0
beq ret_fast_syscall
/* This path taken when tracing */
@@ -390,7 +390,7 @@ ENDPROC(sys_mmap2)
* r1: regs
* r2: syscall number
*/
-SYM_TYPED_FUNC_START(invoke_syscall_trace_asm)
+SYM_TYPED_FUNC_START(invoke_syscall_asm)
#ifdef CONFIG_CPU_SPECTRE
csdb
#endif
@@ -400,17 +400,17 @@ SYM_TYPED_FUNC_START(invoke_syscall_trace_asm)
/* Make space to copy the two syscall stack arguments */
sub sp, sp, #S_OFF
mov scno, r2
- badr lr, __invoke_syscall_trace_ret @ return right here
+ badr lr, __invoke_syscall_ret @ return right here
ldmia r1, {r0 - r6} @ reload r0-r6 from regs
stmia sp, {r4, r5} @ copy stack arguments
ldr pc, [tbl, scno, lsl #2] @ call sys_* routine
-__invoke_syscall_trace_ret:
+__invoke_syscall_ret:
/* Drop the copied stack arguments */
add sp, sp, #S_OFF
pop {r4 - r10, lr}
ARM( mov pc, lr )
THUMB( bx lr )
-SYM_FUNC_END(invoke_syscall_trace_asm)
+SYM_FUNC_END(invoke_syscall_asm)
#ifdef CONFIG_OABI_COMPAT
@@ -8,9 +8,9 @@ static inline bool has_syscall_work(unsigned long flags)
return unlikely(flags & _TIF_SYSCALL_WORK);
}
-int invoke_syscall_trace_asm(void *table, struct pt_regs *regs, int scno);
+int invoke_syscall_asm(void *table, struct pt_regs *regs, int scno);
-__visible int invoke_syscall_trace(void *table, struct pt_regs *regs, int scno)
+__visible int invoke_syscall(void *table, struct pt_regs *regs, int scno)
{
unsigned long flags = read_thread_flags();
int ret;
@@ -22,7 +22,7 @@ __visible int invoke_syscall_trace(void *table, struct pt_regs *regs, int scno)
}
if (scno < NR_syscalls) {
- ret = invoke_syscall_trace_asm(table, regs, scno);
+ ret = invoke_syscall_asm(table, regs, scno);
goto exit_save;
}