Merge branch 'work.gfs2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.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 */