xref: /linux/arch/alpha/include/asm/syscall.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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 */
19