Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_ALPHA_SYSCALL_H
0003 #define _ASM_ALPHA_SYSCALL_H
0004 
0005 #include <uapi/linux/audit.h>
0006 
0007 static inline int syscall_get_arch(struct task_struct *task)
0008 {
0009     return AUDIT_ARCH_ALPHA;
0010 }
0011 
0012 static inline long syscall_get_return_value(struct task_struct *task,
0013                         struct pt_regs *regs)
0014 {
0015     return regs->r0;
0016 }
0017 
0018 #endif  /* _ASM_ALPHA_SYSCALL_H */