diff options
author | Will Deacon <will.deacon@arm.com> | 2018-07-12 17:14:23 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-12 17:14:23 +0300 |
commit | 11527b3e0b577513ea318f01e392ccf7feb9d2a4 (patch) | |
tree | 9344fd9cd582e59146b75b3fab736a256e5a945a /arch/arm64/kernel/ptrace.c | |
parent | 4378a7d4be30ec6994702b19936f7d1465193541 (diff) | |
download | linux-11527b3e0b577513ea318f01e392ccf7feb9d2a4.tar.xz |
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>
Diffstat (limited to 'arch/arm64/kernel/ptrace.c')
-rw-r--r-- | arch/arm64/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 489db3624606..379b2b714193 100644 --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -1631,7 +1631,7 @@ static void tracehook_report_syscall(struct pt_regs *regs, regs->regs[regno] = saved_reg; } -asmlinkage int syscall_trace_enter(struct pt_regs *regs) +int syscall_trace_enter(struct pt_regs *regs) { if (test_thread_flag(TIF_SYSCALL_TRACE)) tracehook_report_syscall(regs, PTRACE_SYSCALL_ENTER); @@ -1649,7 +1649,7 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs) return regs->syscallno; } -asmlinkage void syscall_trace_exit(struct pt_regs *regs) +void syscall_trace_exit(struct pt_regs *regs) { audit_syscall_exit(regs); |