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 
syscall_get_arch(struct task_struct * task)7 static inline int syscall_get_arch(struct task_struct *task)
8 {
9 	return AUDIT_ARCH_ALPHA;
10 }
11 
syscall_get_return_value(struct task_struct * task,struct pt_regs * regs)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 */
19