Skip to content

Commit 11527b3

Browse files
committed
arm64: Drop asmlinkage qualifier from syscall_trace_{enter,exit}
syscall_trace_{enter,exit} are only called from C code, so drop the asmlinkage qualifier from their definitions. Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent 4378a7d commit 11527b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/kernel/ptrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ static void tracehook_report_syscall(struct pt_regs *regs,
16311631
regs->regs[regno] = saved_reg;
16321632
}
16331633

1634-
asmlinkage int syscall_trace_enter(struct pt_regs *regs)
1634+
int syscall_trace_enter(struct pt_regs *regs)
16351635
{
16361636
if (test_thread_flag(TIF_SYSCALL_TRACE))
16371637
tracehook_report_syscall(regs, PTRACE_SYSCALL_ENTER);
@@ -1649,7 +1649,7 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs)
16491649
return regs->syscallno;
16501650
}
16511651

1652-
asmlinkage void syscall_trace_exit(struct pt_regs *regs)
1652+
void syscall_trace_exit(struct pt_regs *regs)
16531653
{
16541654
audit_syscall_exit(regs);
16551655

0 commit comments

Comments
 (0)