]> Git Repo - J-linux.git/blob - arch/alpha/include/asm/syscall.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / alpha / include / asm / syscall.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_ALPHA_SYSCALL_H
3 #define _ASM_ALPHA_SYSCALL_H
4
5 #include <uapi/linux/audit.h>
6
7 static inline int syscall_get_arch(struct task_struct *task)
8 {
9         return AUDIT_ARCH_ALPHA;
10 }
11
12 static inline long syscall_get_return_value(struct task_struct *task,
13                                             struct pt_regs *regs)
14 {
15         return regs->r0;
16 }
17
18 #endif  /* _ASM_ALPHA_SYSCALL_H */
This page took 0.026385 seconds and 4 git commands to generate.