1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 20451623aSEric Paris #ifndef _ASM_ALPHA_SYSCALL_H 30451623aSEric Paris #define _ASM_ALPHA_SYSCALL_H 40451623aSEric Paris 50451623aSEric Paris #include <uapi/linux/audit.h> 60451623aSEric Paris syscall_get_arch(struct task_struct * task)716add411SDmitry V. Levinstatic inline int syscall_get_arch(struct task_struct *task) 80451623aSEric Paris { 90451623aSEric Paris return AUDIT_ARCH_ALPHA; 100451623aSEric Paris } 110451623aSEric Paris syscall_get_return_value(struct task_struct * task,struct pt_regs * regs)12*15b9e384SHe Zhestatic inline long syscall_get_return_value(struct task_struct *task, 13*15b9e384SHe Zhe struct pt_regs *regs) 14*15b9e384SHe Zhe { 15*15b9e384SHe Zhe return regs->r0; 16*15b9e384SHe Zhe } 17*15b9e384SHe Zhe 180451623aSEric Paris #endif /* _ASM_ALPHA_SYSCALL_H */ 19