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