xref: /linux/arch/mips/include/asm/syscalls.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _ASM_MIPS_SYSCALLS_H
3 #define _ASM_MIPS_SYSCALLS_H
4 
5 #include <linux/linkage.h>
6 #include <linux/compat.h>
7 
8 asmlinkage void sys_sigreturn(void);
9 asmlinkage void sys_rt_sigreturn(void);
10 asmlinkage int sysm_pipe(void);
11 asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len,
12                                      unsigned long __user *user_mask_ptr);
13 asmlinkage long mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len,
14                                      unsigned long __user *user_mask_ptr);
15 asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2,
16 				unsigned offset_a3, unsigned len_a4,
17 				unsigned len_a5);
18 asmlinkage long sys32_fadvise64_64(int fd, int __pad,
19 				   unsigned long a2, unsigned long a3,
20 				   unsigned long a4, unsigned long a5,
21 				   int flags);
22 asmlinkage ssize_t sys32_readahead(int fd, u32 pad0, u64 a2, u64 a3,
23 				   size_t count);
24 asmlinkage long sys32_sync_file_range(int fd, int __pad,
25 				      unsigned long a2, unsigned long a3,
26 				      unsigned long a4, unsigned long a5,
27 				      int flags);
28 asmlinkage void sys32_rt_sigreturn(void);
29 asmlinkage void sys32_sigreturn(void);
30 asmlinkage int sys32_sigsuspend(compat_sigset_t __user *uset);
31 asmlinkage void sysn32_rt_sigreturn(void);
32 
33 #endif
34