aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiroz Khan <firoz.khan@linaro.org>2018-12-13 04:07:39 -0500
committerPaul Burton <paul.burton@mips.com>2018-12-14 14:19:02 -0500
commit99bf73ebf9c4193dbcc5331b29d316a89ada43d1 (patch)
tree7c3869ca19fc940e99b683633b511a804b06e612
parent9bcbf97c62931f27ab2c52f0848dec0cd48aee78 (diff)
mips: generate uapi header and system call table files
System call table generation script must be run to gener- ate unistd_(nr_)n64/n32/o32.h and syscall_table_32_o32/ 64_n64/64_n32/64-o32.h files. This patch will have changes which will invokes the script. This patch will generate unistd_(nr_)n64/n32/o32.h and syscall_table_32_o32/64_n64/64-n32/64-o32.h files by the syscall table generation script invoked by parisc/Make- file and the generated files against the removed files must be identical. The generated uapi header file will be included in uapi/- asm/unistd.h and generated system call table header file will be included by kernel/scall32-o32/64-n64/64-n32/- 64-o32.Sfile. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: y2038@lists.linaro.org Cc: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: arnd@arndb.de Cc: deepa.kernel@gmail.com Cc: marcin.juszkiewicz@linaro.org
-rw-r--r--arch/mips/Makefile3
-rw-r--r--arch/mips/include/asm/Kbuild4
-rw-r--r--arch/mips/include/asm/unistd.h3
-rw-r--r--arch/mips/include/uapi/asm/Kbuild6
-rw-r--r--arch/mips/include/uapi/asm/unistd.h1070
-rw-r--r--arch/mips/kernel/scall32-o32.S372
-rw-r--r--arch/mips/kernel/scall64-n32.S337
-rw-r--r--arch/mips/kernel/scall64-n64.S333
-rw-r--r--arch/mips/kernel/scall64-o32.S373
9 files changed, 34 insertions, 2467 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b6303e48d479..5b174c3d0de3 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -430,6 +430,9 @@ archclean:
430 $(Q)$(MAKE) $(clean)=arch/mips/boot/tools 430 $(Q)$(MAKE) $(clean)=arch/mips/boot/tools
431 $(Q)$(MAKE) $(clean)=arch/mips/lasat 431 $(Q)$(MAKE) $(clean)=arch/mips/lasat
432 432
433archheaders:
434 $(Q)$(MAKE) $(build)=arch/mips/kernel/syscalls all
435
433define archhelp 436define archhelp
434 echo ' install - install kernel into $(INSTALL_PATH)' 437 echo ' install - install kernel into $(INSTALL_PATH)'
435 echo ' vmlinux.ecoff - ECOFF boot image' 438 echo ' vmlinux.ecoff - ECOFF boot image'
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild
index 9a81e72119da..f15d5db5dd67 100644
--- a/arch/mips/include/asm/Kbuild
+++ b/arch/mips/include/asm/Kbuild
@@ -1,4 +1,8 @@
1# MIPS headers 1# MIPS headers
2generated-y += syscall_table_32_o32.h
3generated-y += syscall_table_64_n32.h
4generated-y += syscall_table_64_n64.h
5generated-y += syscall_table_64_o32.h
2generic-(CONFIG_GENERIC_CSUM) += checksum.h 6generic-(CONFIG_GENERIC_CSUM) += checksum.h
3generic-y += current.h 7generic-y += current.h
4generic-y += device.h 8generic-y += device.h
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
index c68b8ae3efcb..b23d74a601b3 100644
--- a/arch/mips/include/asm/unistd.h
+++ b/arch/mips/include/asm/unistd.h
@@ -13,6 +13,9 @@
13#define _ASM_UNISTD_H 13#define _ASM_UNISTD_H
14 14
15#include <uapi/asm/unistd.h> 15#include <uapi/asm/unistd.h>
16#include <asm/unistd_nr_n32.h>
17#include <asm/unistd_nr_n64.h>
18#include <asm/unistd_nr_o32.h>
16 19
17#ifdef CONFIG_MIPS32_N32 20#ifdef CONFIG_MIPS32_N32
18#define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls) 21#define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls)
diff --git a/arch/mips/include/uapi/asm/Kbuild b/arch/mips/include/uapi/asm/Kbuild
index 7a4becd8963a..ed4bd032f456 100644
--- a/arch/mips/include/uapi/asm/Kbuild
+++ b/arch/mips/include/uapi/asm/Kbuild
@@ -1,5 +1,11 @@
1# UAPI Header export list 1# UAPI Header export list
2include include/uapi/asm-generic/Kbuild.asm 2include include/uapi/asm-generic/Kbuild.asm
3 3
4generated-y += unistd_n32.h
5generated-y += unistd_n64.h
6generated-y += unistd_o32.h
7generated-y += unistd_nr_n32.h
8generated-y += unistd_nr_n64.h
9generated-y += unistd_nr_o32.h
4generic-y += bpf_perf_event.h 10generic-y += bpf_perf_event.h
5generic-y += ipcbuf.h 11generic-y += ipcbuf.h
diff --git a/arch/mips/include/uapi/asm/unistd.h b/arch/mips/include/uapi/asm/unistd.h
index cdca8e90d3c8..4abe387549ad 100644
--- a/arch/mips/include/uapi/asm/unistd.h
+++ b/arch/mips/include/uapi/asm/unistd.h
@@ -17,1081 +17,23 @@
17 17
18#if _MIPS_SIM == _MIPS_SIM_ABI32 18#if _MIPS_SIM == _MIPS_SIM_ABI32
19 19
20/* 20#define __NR_Linux 4000
21 * Linux o32 style syscalls are in the range from 4000 to 4999. 21#include <asm/unistd_o32.h>
22 */
23#define __NR_Linux 4000
24#define __NR_syscall (__NR_Linux + 0)
25#define __NR_exit (__NR_Linux + 1)
26#define __NR_fork (__NR_Linux + 2)
27#define __NR_read (__NR_Linux + 3)
28#define __NR_write (__NR_Linux + 4)
29#define __NR_open (__NR_Linux + 5)
30#define __NR_close (__NR_Linux + 6)
31#define __NR_waitpid (__NR_Linux + 7)
32#define __NR_creat (__NR_Linux + 8)
33#define __NR_link (__NR_Linux + 9)
34#define __NR_unlink (__NR_Linux + 10)
35#define __NR_execve (__NR_Linux + 11)
36#define __NR_chdir (__NR_Linux + 12)
37#define __NR_time (__NR_Linux + 13)
38#define __NR_mknod (__NR_Linux + 14)
39#define __NR_chmod (__NR_Linux + 15)
40#define __NR_lchown (__NR_Linux + 16)
41#define __NR_break (__NR_Linux + 17)
42#define __NR_unused18 (__NR_Linux + 18)
43#define __NR_lseek (__NR_Linux + 19)
44#define __NR_getpid (__NR_Linux + 20)
45#define __NR_mount (__NR_Linux + 21)
46#define __NR_umount (__NR_Linux + 22)
47#define __NR_setuid (__NR_Linux + 23)
48#define __NR_getuid (__NR_Linux + 24)
49#define __NR_stime (__NR_Linux + 25)
50#define __NR_ptrace (__NR_Linux + 26)
51#define __NR_alarm (__NR_Linux + 27)
52#define __NR_unused28 (__NR_Linux + 28)
53#define __NR_pause (__NR_Linux + 29)
54#define __NR_utime (__NR_Linux + 30)
55#define __NR_stty (__NR_Linux + 31)
56#define __NR_gtty (__NR_Linux + 32)
57#define __NR_access (__NR_Linux + 33)
58#define __NR_nice (__NR_Linux + 34)
59#define __NR_ftime (__NR_Linux + 35)
60#define __NR_sync (__NR_Linux + 36)
61#define __NR_kill (__NR_Linux + 37)
62#define __NR_rename (__NR_Linux + 38)
63#define __NR_mkdir (__NR_Linux + 39)
64#define __NR_rmdir (__NR_Linux + 40)
65#define __NR_dup (__NR_Linux + 41)
66#define __NR_pipe (__NR_Linux + 42)
67#define __NR_times (__NR_Linux + 43)
68#define __NR_prof (__NR_Linux + 44)
69#define __NR_brk (__NR_Linux + 45)
70#define __NR_setgid (__NR_Linux + 46)
71#define __NR_getgid (__NR_Linux + 47)
72#define __NR_signal (__NR_Linux + 48)
73#define __NR_geteuid (__NR_Linux + 49)
74#define __NR_getegid (__NR_Linux + 50)
75#define __NR_acct (__NR_Linux + 51)
76#define __NR_umount2 (__NR_Linux + 52)
77#define __NR_lock (__NR_Linux + 53)
78#define __NR_ioctl (__NR_Linux + 54)
79#define __NR_fcntl (__NR_Linux + 55)
80#define __NR_mpx (__NR_Linux + 56)
81#define __NR_setpgid (__NR_Linux + 57)
82#define __NR_ulimit (__NR_Linux + 58)
83#define __NR_unused59 (__NR_Linux + 59)
84#define __NR_umask (__NR_Linux + 60)
85#define __NR_chroot (__NR_Linux + 61)
86#define __NR_ustat (__NR_Linux + 62)
87#define __NR_dup2 (__NR_Linux + 63)
88#define __NR_getppid (__NR_Linux + 64)
89#define __NR_getpgrp (__NR_Linux + 65)
90#define __NR_setsid (__NR_Linux + 66)
91#define __NR_sigaction (__NR_Linux + 67)
92#define __NR_sgetmask (__NR_Linux + 68)
93#define __NR_ssetmask (__NR_Linux + 69)
94#define __NR_setreuid (__NR_Linux + 70)
95#define __NR_setregid (__NR_Linux + 71)
96#define __NR_sigsuspend (__NR_Linux + 72)
97#define __NR_sigpending (__NR_Linux + 73)
98#define __NR_sethostname (__NR_Linux + 74)
99#define __NR_setrlimit (__NR_Linux + 75)
100#define __NR_getrlimit (__NR_Linux + 76)
101#define __NR_getrusage (__NR_Linux + 77)
102#define __NR_gettimeofday (__NR_Linux + 78)
103#define __NR_settimeofday (__NR_Linux + 79)
104#define __NR_getgroups (__NR_Linux + 80)
105#define __NR_setgroups (__NR_Linux + 81)
106#define __NR_reserved82 (__NR_Linux + 82)
107#define __NR_symlink (__NR_Linux + 83)
108#define __NR_unused84 (__NR_Linux + 84)
109#define __NR_readlink (__NR_Linux + 85)
110#define __NR_uselib (__NR_Linux + 86)
111#define __NR_swapon (__NR_Linux + 87)
112#define __NR_reboot (__NR_Linux + 88)
113#define __NR_readdir (__NR_Linux + 89)
114#define __NR_mmap (__NR_Linux + 90)
115#define __NR_munmap (__NR_Linux + 91)
116#define __NR_truncate (__NR_Linux + 92)
117#define __NR_ftruncate (__NR_Linux + 93)
118#define __NR_fchmod (__NR_Linux + 94)
119#define __NR_fchown (__NR_Linux + 95)
120#define __NR_getpriority (__NR_Linux + 96)
121#define __NR_setpriority (__NR_Linux + 97)
122#define __NR_profil (__NR_Linux + 98)
123#define __NR_statfs (__NR_Linux + 99)
124#define __NR_fstatfs (__NR_Linux + 100)
125#define __NR_ioperm (__NR_Linux + 101)
126#define __NR_socketcall (__NR_Linux + 102)
127#define __NR_syslog (__NR_Linux + 103)
128#define __NR_setitimer (__NR_Linux + 104)
129#define __NR_getitimer (__NR_Linux + 105)
130#define __NR_stat (__NR_Linux + 106)
131#define __NR_lstat (__NR_Linux + 107)
132#define __NR_fstat (__NR_Linux + 108)
133#define __NR_unused109 (__NR_Linux + 109)
134#define __NR_iopl (__NR_Linux + 110)
135#define __NR_vhangup (__NR_Linux + 111)
136#define __NR_idle (__NR_Linux + 112)
137#define __NR_vm86 (__NR_Linux + 113)
138#define __NR_wait4 (__NR_Linux + 114)
139#define __NR_swapoff (__NR_Linux + 115)
140#define __NR_sysinfo (__NR_Linux + 116)
141#define __NR_ipc (__NR_Linux + 117)
142#define __NR_fsync (__NR_Linux + 118)
143#define __NR_sigreturn (__NR_Linux + 119)
144#define __NR_clone (__NR_Linux + 120)
145#define __NR_setdomainname (__NR_Linux + 121)
146#define __NR_uname (__NR_Linux + 122)
147#define __NR_modify_ldt (__NR_Linux + 123)
148#define __NR_adjtimex (__NR_Linux + 124)
149#define __NR_mprotect (__NR_Linux + 125)
150#define __NR_sigprocmask (__NR_Linux + 126)
151#define __NR_create_module (__NR_Linux + 127)
152#define __NR_init_module (__NR_Linux + 128)
153#define __NR_delete_module (__NR_Linux + 129)
154#define __NR_get_kernel_syms (__NR_Linux + 130)
155#define __NR_quotactl (__NR_Linux + 131)
156#define __NR_getpgid (__NR_Linux + 132)
157#define __NR_fchdir (__NR_Linux + 133)
158#define __NR_bdflush (__NR_Linux + 134)
159#define __NR_sysfs (__NR_Linux + 135)
160#define __NR_personality (__NR_Linux + 136)
161#define __NR_afs_syscall (__NR_Linux + 137) /* Syscall for Andrew File System */
162#define __NR_setfsuid (__NR_Linux + 138)
163#define __NR_setfsgid (__NR_Linux + 139)
164#define __NR__llseek (__NR_Linux + 140)
165#define __NR_getdents (__NR_Linux + 141)
166#define __NR__newselect (__NR_Linux + 142)
167#define __NR_flock (__NR_Linux + 143)
168#define __NR_msync (__NR_Linux + 144)
169#define __NR_readv (__NR_Linux + 145)
170#define __NR_writev (__NR_Linux + 146)
171#define __NR_cacheflush (__NR_Linux + 147)
172#define __NR_cachectl (__NR_Linux + 148)
173#define __NR_sysmips (__NR_Linux + 149)
174#define __NR_unused150 (__NR_Linux + 150)
175#define __NR_getsid (__NR_Linux + 151)
176#define __NR_fdatasync (__NR_Linux + 152)
177#define __NR__sysctl (__NR_Linux + 153)
178#define __NR_mlock (__NR_Linux + 154)
179#define __NR_munlock (__NR_Linux + 155)
180#define __NR_mlockall (__NR_Linux + 156)
181#define __NR_munlockall (__NR_Linux + 157)
182#define __NR_sched_setparam (__NR_Linux + 158)
183#define __NR_sched_getparam (__NR_Linux + 159)
184#define __NR_sched_setscheduler (__NR_Linux + 160)
185#define __NR_sched_getscheduler (__NR_Linux + 161)
186#define __NR_sched_yield (__NR_Linux + 162)
187#define __NR_sched_get_priority_max (__NR_Linux + 163)
188#define __NR_sched_get_priority_min (__NR_Linux + 164)
189#define __NR_sched_rr_get_interval (__NR_Linux + 165)
190#define __NR_nanosleep (__NR_Linux + 166)
191#define __NR_mremap (__NR_Linux + 167)
192#define __NR_accept (__NR_Linux + 168)
193#define __NR_bind (__NR_Linux + 169)
194#define __NR_connect (__NR_Linux + 170)
195#define __NR_getpeername (__NR_Linux + 171)
196#define __NR_getsockname (__NR_Linux + 172)
197#define __NR_getsockopt (__NR_Linux + 173)
198#define __NR_listen (__NR_Linux + 174)
199#define __NR_recv (__NR_Linux + 175)
200#define __NR_recvfrom (__NR_Linux + 176)
201#define __NR_recvmsg (__NR_Linux + 177)
202#define __NR_send (__NR_Linux + 178)
203#define __NR_sendmsg (__NR_Linux + 179)
204#define __NR_sendto (__NR_Linux + 180)
205#define __NR_setsockopt (__NR_Linux + 181)
206#define __NR_shutdown (__NR_Linux + 182)
207#define __NR_socket (__NR_Linux + 183)
208#define __NR_socketpair (__NR_Linux + 184)
209#define __NR_setresuid (__NR_Linux + 185)
210#define __NR_getresuid (__NR_Linux + 186)
211#define __NR_query_module (__NR_Linux + 187)
212#define __NR_poll (__NR_Linux + 188)
213#define __NR_nfsservctl (__NR_Linux + 189)
214#define __NR_setresgid (__NR_Linux + 190)
215#define __NR_getresgid (__NR_Linux + 191)
216#define __NR_prctl (__NR_Linux + 192)
217#define __NR_rt_sigreturn (__NR_Linux + 193)
218#define __NR_rt_sigaction (__NR_Linux + 194)
219#define __NR_rt_sigprocmask (__NR_Linux + 195)
220#define __NR_rt_sigpending (__NR_Linux + 196)
221#define __NR_rt_sigtimedwait (__NR_Linux + 197)
222#define __NR_rt_sigqueueinfo (__NR_Linux + 198)
223#define __NR_rt_sigsuspend (__NR_Linux + 199)
224#define __NR_pread64 (__NR_Linux + 200)
225#define __NR_pwrite64 (__NR_Linux + 201)
226#define __NR_chown (__NR_Linux + 202)
227#define __NR_getcwd (__NR_Linux + 203)
228#define __NR_capget (__NR_Linux + 204)
229#define __NR_capset (__NR_Linux + 205)
230#define __NR_sigaltstack (__NR_Linux + 206)
231#define __NR_sendfile (__NR_Linux + 207)
232#define __NR_getpmsg (__NR_Linux + 208)
233#define __NR_putpmsg (__NR_Linux + 209)
234#define __NR_mmap2 (__NR_Linux + 210)
235#define __NR_truncate64 (__NR_Linux + 211)
236#define __NR_ftruncate64 (__NR_Linux + 212)
237#define __NR_stat64 (__NR_Linux + 213)
238#define __NR_lstat64 (__NR_Linux + 214)
239#define __NR_fstat64 (__NR_Linux + 215)
240#define __NR_pivot_root (__NR_Linux + 216)
241#define __NR_mincore (__NR_Linux + 217)
242#define __NR_madvise (__NR_Linux + 218)
243#define __NR_getdents64 (__NR_Linux + 219)
244#define __NR_fcntl64 (__NR_Linux + 220)
245#define __NR_reserved221 (__NR_Linux + 221)
246#define __NR_gettid (__NR_Linux + 222)
247#define __NR_readahead (__NR_Linux + 223)
248#define __NR_setxattr (__NR_Linux + 224)
249#define __NR_lsetxattr (__NR_Linux + 225)
250#define __NR_fsetxattr (__NR_Linux + 226)
251#define __NR_getxattr (__NR_Linux + 227)
252#define __NR_lgetxattr (__NR_Linux + 228)
253#define __NR_fgetxattr (__NR_Linux + 229)
254#define __NR_listxattr (__NR_Linux + 230)
255#define __NR_llistxattr (__NR_Linux + 231)
256#define __NR_flistxattr (__NR_Linux + 232)
257#define __NR_removexattr (__NR_Linux + 233)
258#define __NR_lremovexattr (__NR_Linux + 234)
259#define __NR_fremovexattr (__NR_Linux + 235)
260#define __NR_tkill (__NR_Linux + 236)
261#define __NR_sendfile64 (__NR_Linux + 237)
262#define __NR_futex (__NR_Linux + 238)
263#define __NR_sched_setaffinity (__NR_Linux + 239)
264#define __NR_sched_getaffinity (__NR_Linux + 240)
265#define __NR_io_setup (__NR_Linux + 241)
266#define __NR_io_destroy (__NR_Linux + 242)
267#define __NR_io_getevents (__NR_Linux + 243)
268#define __NR_io_submit (__NR_Linux + 244)
269#define __NR_io_cancel (__NR_Linux + 245)
270#define __NR_exit_group (__NR_Linux + 246)
271#define __NR_lookup_dcookie (__NR_Linux + 247)
272#define __NR_epoll_create (__NR_Linux + 248)
273#define __NR_epoll_ctl (__NR_Linux + 249)
274#define __NR_epoll_wait (__NR_Linux + 250)
275#define __NR_remap_file_pages (__NR_Linux + 251)
276#define __NR_set_tid_address (__NR_Linux + 252)
277#define __NR_restart_syscall (__NR_Linux + 253)
278#define __NR_fadvise64 (__NR_Linux + 254)
279#define __NR_statfs64 (__NR_Linux + 255)
280#define __NR_fstatfs64 (__NR_Linux + 256)
281#define __NR_timer_create (__NR_Linux + 257)
282#define __NR_timer_settime (__NR_Linux + 258)
283#define __NR_timer_gettime (__NR_Linux + 259)
284#define __NR_timer_getoverrun (__NR_Linux + 260)
285#define __NR_timer_delete (__NR_Linux + 261)
286#define __NR_clock_settime (__NR_Linux + 262)
287#define __NR_clock_gettime (__NR_Linux + 263)
288#define __NR_clock_getres (__NR_Linux + 264)
289#define __NR_clock_nanosleep (__NR_Linux + 265)
290#define __NR_tgkill (__NR_Linux + 266)
291#define __NR_utimes (__NR_Linux + 267)
292#define __NR_mbind (__NR_Linux + 268)
293#define __NR_get_mempolicy (__NR_Linux + 269)
294#define __NR_set_mempolicy (__NR_Linux + 270)
295#define __NR_mq_open (__NR_Linux + 271)
296#define __NR_mq_unlink (__NR_Linux + 272)
297#define __NR_mq_timedsend (__NR_Linux + 273)
298#define __NR_mq_timedreceive (__NR_Linux + 274)
299#define __NR_mq_notify (__NR_Linux + 275)
300#define __NR_mq_getsetattr (__NR_Linux + 276)
301#define __NR_vserver (__NR_Linux + 277)
302#define __NR_waitid (__NR_Linux + 278)
303/* #define __NR_sys_setaltroot (__NR_Linux + 279) */
304#define __NR_add_key (__NR_Linux + 280)
305#define __NR_request_key (__NR_Linux + 281)
306#define __NR_keyctl (__NR_Linux + 282)
307#define __NR_set_thread_area (__NR_Linux + 283)
308#define __NR_inotify_init (__NR_Linux + 284)
309#define __NR_inotify_add_watch (__NR_Linux + 285)
310#define __NR_inotify_rm_watch (__NR_Linux + 286)
311#define __NR_migrate_pages (__NR_Linux + 287)
312#define __NR_openat (__NR_Linux + 288)
313#define __NR_mkdirat (__NR_Linux + 289)
314#define __NR_mknodat (__NR_Linux + 290)
315#define __NR_fchownat (__NR_Linux + 291)
316#define __NR_futimesat (__NR_Linux + 292)
317#define __NR_fstatat64 (__NR_Linux + 293)
318#define __NR_unlinkat (__NR_Linux + 294)
319#define __NR_renameat (__NR_Linux + 295)
320#define __NR_linkat (__NR_Linux + 296)
321#define __NR_symlinkat (__NR_Linux + 297)
322#define __NR_readlinkat (__NR_Linux + 298)
323#define __NR_fchmodat (__NR_Linux + 299)
324#define __NR_faccessat (__NR_Linux + 300)
325#define __NR_pselect6 (__NR_Linux + 301)
326#define __NR_ppoll (__NR_Linux + 302)
327#define __NR_unshare (__NR_Linux + 303)
328#define __NR_splice (__NR_Linux + 304)
329#define __NR_sync_file_range (__NR_Linux + 305)
330#define __NR_tee (__NR_Linux + 306)
331#define __NR_vmsplice (__NR_Linux + 307)
332#define __NR_move_pages (__NR_Linux + 308)
333#define __NR_set_robust_list (__NR_Linux + 309)
334#define __NR_get_robust_list (__NR_Linux + 310)
335#define __NR_kexec_load (__NR_Linux + 311)
336#define __NR_getcpu (__NR_Linux + 312)
337#define __NR_epoll_pwait (__NR_Linux + 313)
338#define __NR_ioprio_set (__NR_Linux + 314)
339#define __NR_ioprio_get (__NR_Linux + 315)
340#define __NR_utimensat (__NR_Linux + 316)
341#define __NR_signalfd (__NR_Linux + 317)
342#define __NR_timerfd (__NR_Linux + 318)
343#define __NR_eventfd (__NR_Linux + 319)
344#define __NR_fallocate (__NR_Linux + 320)
345#define __NR_timerfd_create (__NR_Linux + 321)
346#define __NR_timerfd_gettime (__NR_Linux + 322)
347#define __NR_timerfd_settime (__NR_Linux + 323)
348#define __NR_signalfd4 (__NR_Linux + 324)
349#define __NR_eventfd2 (__NR_Linux + 325)
350#define __NR_epoll_create1 (__NR_Linux + 326)
351#define __NR_dup3 (__NR_Linux + 327)
352#define __NR_pipe2 (__NR_Linux + 328)
353#define __NR_inotify_init1 (__NR_Linux + 329)
354#define __NR_preadv (__NR_Linux + 330)
355#define __NR_pwritev (__NR_Linux + 331)
356#define __NR_rt_tgsigqueueinfo (__NR_Linux + 332)
357#define __NR_perf_event_open (__NR_Linux + 333)
358#define __NR_accept4 (__NR_Linux + 334)
359#define __NR_recvmmsg (__NR_Linux + 335)
360#define __NR_fanotify_init (__NR_Linux + 336)
361#define __NR_fanotify_mark (__NR_Linux + 337)
362#define __NR_prlimit64 (__NR_Linux + 338)
363#define __NR_name_to_handle_at (__NR_Linux + 339)
364#define __NR_open_by_handle_at (__NR_Linux + 340)
365#define __NR_clock_adjtime (__NR_Linux + 341)
366#define __NR_syncfs (__NR_Linux + 342)
367#define __NR_sendmmsg (__NR_Linux + 343)
368#define __NR_setns (__NR_Linux + 344)
369#define __NR_process_vm_readv (__NR_Linux + 345)
370#define __NR_process_vm_writev (__NR_Linux + 346)
371#define __NR_kcmp (__NR_Linux + 347)
372#define __NR_finit_module (__NR_Linux + 348)
373#define __NR_sched_setattr (__NR_Linux + 349)
374#define __NR_sched_getattr (__NR_Linux + 350)
375#define __NR_renameat2 (__NR_Linux + 351)
376#define __NR_seccomp (__NR_Linux + 352)
377#define __NR_getrandom (__NR_Linux + 353)
378#define __NR_memfd_create (__NR_Linux + 354)
379#define __NR_bpf (__NR_Linux + 355)
380#define __NR_execveat (__NR_Linux + 356)
381#define __NR_userfaultfd (__NR_Linux + 357)
382#define __NR_membarrier (__NR_Linux + 358)
383#define __NR_mlock2 (__NR_Linux + 359)
384#define __NR_copy_file_range (__NR_Linux + 360)
385#define __NR_preadv2 (__NR_Linux + 361)
386#define __NR_pwritev2 (__NR_Linux + 362)
387#define __NR_pkey_mprotect (__NR_Linux + 363)
388#define __NR_pkey_alloc (__NR_Linux + 364)
389#define __NR_pkey_free (__NR_Linux + 365)
390#define __NR_statx (__NR_Linux + 366)
391#define __NR_rseq (__NR_Linux + 367)
392#define __NR_io_pgetevents (__NR_Linux + 368)
393
394#ifdef __KERNEL__
395#define __NR_syscalls 369
396#endif
397 22
398#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 23#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
399 24
400#define __NR_O32_Linux 4000
401#define __NR_O32_Linux_syscalls 369
402
403#if _MIPS_SIM == _MIPS_SIM_ABI64 25#if _MIPS_SIM == _MIPS_SIM_ABI64
404 26
405/* 27#define __NR_Linux 5000
406 * Linux 64-bit syscalls are in the range from 5000 to 5999. 28#include <asm/unistd_n64.h>
407 */
408#define __NR_Linux 5000
409#define __NR_read (__NR_Linux + 0)
410#define __NR_write (__NR_Linux + 1)
411#define __NR_open (__NR_Linux + 2)
412#define __NR_close (__NR_Linux + 3)
413#define __NR_stat (__NR_Linux + 4)
414#define __NR_fstat (__NR_Linux + 5)
415#define __NR_lstat (__NR_Linux + 6)
416#define __NR_poll (__NR_Linux + 7)
417#define __NR_lseek (__NR_Linux + 8)
418#define __NR_mmap (__NR_Linux + 9)
419#define __NR_mprotect (__NR_Linux + 10)
420#define __NR_munmap (__NR_Linux + 11)
421#define __NR_brk (__NR_Linux + 12)
422#define __NR_rt_sigaction (__NR_Linux + 13)
423#define __NR_rt_sigprocmask (__NR_Linux + 14)
424#define __NR_ioctl (__NR_Linux + 15)
425#define __NR_pread64 (__NR_Linux + 16)
426#define __NR_pwrite64 (__NR_Linux + 17)
427#define __NR_readv (__NR_Linux + 18)
428#define __NR_writev (__NR_Linux + 19)
429#define __NR_access (__NR_Linux + 20)
430#define __NR_pipe (__NR_Linux + 21)
431#define __NR__newselect (__NR_Linux + 22)
432#define __NR_sched_yield (__NR_Linux + 23)
433#define __NR_mremap (__NR_Linux + 24)
434#define __NR_msync (__NR_Linux + 25)
435#define __NR_mincore (__NR_Linux + 26)
436#define __NR_madvise (__NR_Linux + 27)
437#define __NR_shmget (__NR_Linux + 28)
438#define __NR_shmat (__NR_Linux + 29)
439#define __NR_shmctl (__NR_Linux + 30)
440#define __NR_dup (__NR_Linux + 31)
441#define __NR_dup2 (__NR_Linux + 32)
442#define __NR_pause (__NR_Linux + 33)
443#define __NR_nanosleep (__NR_Linux + 34)
444#define __NR_getitimer (__NR_Linux + 35)
445#define __NR_setitimer (__NR_Linux + 36)
446#define __NR_alarm (__NR_Linux + 37)
447#define __NR_getpid (__NR_Linux + 38)
448#define __NR_sendfile (__NR_Linux + 39)
449#define __NR_socket (__NR_Linux + 40)
450#define __NR_connect (__NR_Linux + 41)
451#define __NR_accept (__NR_Linux + 42)
452#define __NR_sendto (__NR_Linux + 43)
453#define __NR_recvfrom (__NR_Linux + 44)
454#define __NR_sendmsg (__NR_Linux + 45)
455#define __NR_recvmsg (__NR_Linux + 46)
456#define __NR_shutdown (__NR_Linux + 47)
457#define __NR_bind (__NR_Linux + 48)
458#define __NR_listen (__NR_Linux + 49)
459#define __NR_getsockname (__NR_Linux + 50)
460#define __NR_getpeername (__NR_Linux + 51)
461#define __NR_socketpair (__NR_Linux + 52)
462#define __NR_setsockopt (__NR_Linux + 53)
463#define __NR_getsockopt (__NR_Linux + 54)
464#define __NR_clone (__NR_Linux + 55)
465#define __NR_fork (__NR_Linux + 56)
466#define __NR_execve (__NR_Linux + 57)
467#define __NR_exit (__NR_Linux + 58)
468#define __NR_wait4 (__NR_Linux + 59)
469#define __NR_kill (__NR_Linux + 60)
470#define __NR_uname (__NR_Linux + 61)
471#define __NR_semget (__NR_Linux + 62)
472#define __NR_semop (__NR_Linux + 63)
473#define __NR_semctl (__NR_Linux + 64)
474#define __NR_shmdt (__NR_Linux + 65)
475#define __NR_msgget (__NR_Linux + 66)
476#define __NR_msgsnd (__NR_Linux + 67)
477#define __NR_msgrcv (__NR_Linux + 68)
478#define __NR_msgctl (__NR_Linux + 69)
479#define __NR_fcntl (__NR_Linux + 70)
480#define __NR_flock (__NR_Linux + 71)
481#define __NR_fsync (__NR_Linux + 72)
482#define __NR_fdatasync (__NR_Linux + 73)
483#define __NR_truncate (__NR_Linux + 74)
484#define __NR_ftruncate (__NR_Linux + 75)
485#define __NR_getdents (__NR_Linux + 76)
486#define __NR_getcwd (__NR_Linux + 77)
487#define __NR_chdir (__NR_Linux + 78)
488#define __NR_fchdir (__NR_Linux + 79)
489#define __NR_rename (__NR_Linux + 80)
490#define __NR_mkdir (__NR_Linux + 81)
491#define __NR_rmdir (__NR_Linux + 82)
492#define __NR_creat (__NR_Linux + 83)
493#define __NR_link (__NR_Linux + 84)
494#define __NR_unlink (__NR_Linux + 85)
495#define __NR_symlink (__NR_Linux + 86)
496#define __NR_readlink (__NR_Linux + 87)
497#define __NR_chmod (__NR_Linux + 88)
498#define __NR_fchmod (__NR_Linux + 89)
499#define __NR_chown (__NR_Linux + 90)
500#define __NR_fchown (__NR_Linux + 91)
501#define __NR_lchown (__NR_Linux + 92)
502#define __NR_umask (__NR_Linux + 93)
503#define __NR_gettimeofday (__NR_Linux + 94)
504#define __NR_getrlimit (__NR_Linux + 95)
505#define __NR_getrusage (__NR_Linux + 96)
506#define __NR_sysinfo (__NR_Linux + 97)
507#define __NR_times (__NR_Linux + 98)
508#define __NR_ptrace (__NR_Linux + 99)
509#define __NR_getuid (__NR_Linux + 100)
510#define __NR_syslog (__NR_Linux + 101)
511#define __NR_getgid (__NR_Linux + 102)
512#define __NR_setuid (__NR_Linux + 103)
513#define __NR_setgid (__NR_Linux + 104)
514#define __NR_geteuid (__NR_Linux + 105)
515#define __NR_getegid (__NR_Linux + 106)
516#define __NR_setpgid (__NR_Linux + 107)
517#define __NR_getppid (__NR_Linux + 108)
518#define __NR_getpgrp (__NR_Linux + 109)
519#define __NR_setsid (__NR_Linux + 110)
520#define __NR_setreuid (__NR_Linux + 111)
521#define __NR_setregid (__NR_Linux + 112)
522#define __NR_getgroups (__NR_Linux + 113)
523#define __NR_setgroups (__NR_Linux + 114)
524#define __NR_setresuid (__NR_Linux + 115)
525#define __NR_getresuid (__NR_Linux + 116)
526#define __NR_setresgid (__NR_Linux + 117)
527#define __NR_getresgid (__NR_Linux + 118)
528#define __NR_getpgid (__NR_Linux + 119)
529#define __NR_setfsuid (__NR_Linux + 120)
530#define __NR_setfsgid (__NR_Linux + 121)
531#define __NR_getsid (__NR_Linux + 122)
532#define __NR_capget (__NR_Linux + 123)
533#define __NR_capset (__NR_Linux + 124)
534#define __NR_rt_sigpending (__NR_Linux + 125)
535#define __NR_rt_sigtimedwait (__NR_Linux + 126)
536#define __NR_rt_sigqueueinfo (__NR_Linux + 127)
537#define __NR_rt_sigsuspend (__NR_Linux + 128)
538#define __NR_sigaltstack (__NR_Linux + 129)
539#define __NR_utime (__NR_Linux + 130)
540#define __NR_mknod (__NR_Linux + 131)
541#define __NR_personality (__NR_Linux + 132)
542#define __NR_ustat (__NR_Linux + 133)
543#define __NR_statfs (__NR_Linux + 134)
544#define __NR_fstatfs (__NR_Linux + 135)
545#define __NR_sysfs (__NR_Linux + 136)
546#define __NR_getpriority (__NR_Linux + 137)
547#define __NR_setpriority (__NR_Linux + 138)
548#define __NR_sched_setparam (__NR_Linux + 139)
549#define __NR_sched_getparam (__NR_Linux + 140)
550#define __NR_sched_setscheduler (__NR_Linux + 141)
551#define __NR_sched_getscheduler (__NR_Linux + 142)
552#define __NR_sched_get_priority_max (__NR_Linux + 143)
553#define __NR_sched_get_priority_min (__NR_Linux + 144)
554#define __NR_sched_rr_get_interval (__NR_Linux + 145)
555#define __NR_mlock (__NR_Linux + 146)
556#define __NR_munlock (__NR_Linux + 147)
557#define __NR_mlockall (__NR_Linux + 148)
558#define __NR_munlockall (__NR_Linux + 149)
559#define __NR_vhangup (__NR_Linux + 150)
560#define __NR_pivot_root (__NR_Linux + 151)
561#define __NR__sysctl (__NR_Linux + 152)
562#define __NR_prctl (__NR_Linux + 153)
563#define __NR_adjtimex (__NR_Linux + 154)
564#define __NR_setrlimit (__NR_Linux + 155)
565#define __NR_chroot (__NR_Linux + 156)
566#define __NR_sync (__NR_Linux + 157)
567#define __NR_acct (__NR_Linux + 158)
568#define __NR_settimeofday (__NR_Linux + 159)
569#define __NR_mount (__NR_Linux + 160)
570#define __NR_umount2 (__NR_Linux + 161)
571#define __NR_swapon (__NR_Linux + 162)
572#define __NR_swapoff (__NR_Linux + 163)
573#define __NR_reboot (__NR_Linux + 164)
574#define __NR_sethostname (__NR_Linux + 165)
575#define __NR_setdomainname (__NR_Linux + 166)
576#define __NR_create_module (__NR_Linux + 167)
577#define __NR_init_module (__NR_Linux + 168)
578#define __NR_delete_module (__NR_Linux + 169)
579#define __NR_get_kernel_syms (__NR_Linux + 170)
580#define __NR_query_module (__NR_Linux + 171)
581#define __NR_quotactl (__NR_Linux + 172)
582#define __NR_nfsservctl (__NR_Linux + 173)
583#define __NR_getpmsg (__NR_Linux + 174)
584#define __NR_putpmsg (__NR_Linux + 175)
585#define __NR_afs_syscall (__NR_Linux + 176)
586#define __NR_reserved177 (__NR_Linux + 177)
587#define __NR_gettid (__NR_Linux + 178)
588#define __NR_readahead (__NR_Linux + 179)
589#define __NR_setxattr (__NR_Linux + 180)
590#define __NR_lsetxattr (__NR_Linux + 181)
591#define __NR_fsetxattr (__NR_Linux + 182)
592#define __NR_getxattr (__NR_Linux + 183)
593#define __NR_lgetxattr (__NR_Linux + 184)
594#define __NR_fgetxattr (__NR_Linux + 185)
595#define __NR_listxattr (__NR_Linux + 186)
596#define __NR_llistxattr (__NR_Linux + 187)
597#define __NR_flistxattr (__NR_Linux + 188)
598#define __NR_removexattr (__NR_Linux + 189)
599#define __NR_lremovexattr (__NR_Linux + 190)
600#define __NR_fremovexattr (__NR_Linux + 191)
601#define __NR_tkill (__NR_Linux + 192)
602#define __NR_reserved193 (__NR_Linux + 193)
603#define __NR_futex (__NR_Linux + 194)
604#define __NR_sched_setaffinity (__NR_Linux + 195)
605#define __NR_sched_getaffinity (__NR_Linux + 196)
606#define __NR_cacheflush (__NR_Linux + 197)
607#define __NR_cachectl (__NR_Linux + 198)
608#define __NR_sysmips (__NR_Linux + 199)
609#define __NR_io_setup (__NR_Linux + 200)
610#define __NR_io_destroy (__NR_Linux + 201)
611#define __NR_io_getevents (__NR_Linux + 202)
612#define __NR_io_submit (__NR_Linux + 203)
613#define __NR_io_cancel (__NR_Linux + 204)
614#define __NR_exit_group (__NR_Linux + 205)
615#define __NR_lookup_dcookie (__NR_Linux + 206)
616#define __NR_epoll_create (__NR_Linux + 207)
617#define __NR_epoll_ctl (__NR_Linux + 208)
618#define __NR_epoll_wait (__NR_Linux + 209)
619#define __NR_remap_file_pages (__NR_Linux + 210)
620#define __NR_rt_sigreturn (__NR_Linux + 211)
621#define __NR_set_tid_address (__NR_Linux + 212)
622#define __NR_restart_syscall (__NR_Linux + 213)
623#define __NR_semtimedop (__NR_Linux + 214)
624#define __NR_fadvise64 (__NR_Linux + 215)
625#define __NR_timer_create (__NR_Linux + 216)
626#define __NR_timer_settime (__NR_Linux + 217)
627#define __NR_timer_gettime (__NR_Linux + 218)
628#define __NR_timer_getoverrun (__NR_Linux + 219)
629#define __NR_timer_delete (__NR_Linux + 220)
630#define __NR_clock_settime (__NR_Linux + 221)
631#define __NR_clock_gettime (__NR_Linux + 222)
632#define __NR_clock_getres (__NR_Linux + 223)
633#define __NR_clock_nanosleep (__NR_Linux + 224)
634#define __NR_tgkill (__NR_Linux + 225)
635#define __NR_utimes (__NR_Linux + 226)
636#define __NR_mbind (__NR_Linux + 227)
637#define __NR_get_mempolicy (__NR_Linux + 228)
638#define __NR_set_mempolicy (__NR_Linux + 229)
639#define __NR_mq_open (__NR_Linux + 230)
640#define __NR_mq_unlink (__NR_Linux + 231)
641#define __NR_mq_timedsend (__NR_Linux + 232)
642#define __NR_mq_timedreceive (__NR_Linux + 233)
643#define __NR_mq_notify (__NR_Linux + 234)
644#define __NR_mq_getsetattr (__NR_Linux + 235)
645#define __NR_vserver (__NR_Linux + 236)
646#define __NR_waitid (__NR_Linux + 237)
647/* #define __NR_sys_setaltroot (__NR_Linux + 238) */
648#define __NR_add_key (__NR_Linux + 239)
649#define __NR_request_key (__NR_Linux + 240)
650#define __NR_keyctl (__NR_Linux + 241)
651#define __NR_set_thread_area (__NR_Linux + 242)
652#define __NR_inotify_init (__NR_Linux + 243)
653#define __NR_inotify_add_watch (__NR_Linux + 244)
654#define __NR_inotify_rm_watch (__NR_Linux + 245)
655#define __NR_migrate_pages (__NR_Linux + 246)
656#define __NR_openat (__NR_Linux + 247)
657#define __NR_mkdirat (__NR_Linux + 248)
658#define __NR_mknodat (__NR_Linux + 249)
659#define __NR_fchownat (__NR_Linux + 250)
660#define __NR_futimesat (__NR_Linux + 251)
661#define __NR_newfstatat (__NR_Linux + 252)
662#define __NR_unlinkat (__NR_Linux + 253)
663#define __NR_renameat (__NR_Linux + 254)
664#define __NR_linkat (__NR_Linux + 255)
665#define __NR_symlinkat (__NR_Linux + 256)
666#define __NR_readlinkat (__NR_Linux + 257)
667#define __NR_fchmodat (__NR_Linux + 258)
668#define __NR_faccessat (__NR_Linux + 259)
669#define __NR_pselect6 (__NR_Linux + 260)
670#define __NR_ppoll (__NR_Linux + 261)
671#define __NR_unshare (__NR_Linux + 262)
672#define __NR_splice (__NR_Linux + 263)
673#define __NR_sync_file_range (__NR_Linux + 264)
674#define __NR_tee (__NR_Linux + 265)
675#define __NR_vmsplice (__NR_Linux + 266)
676#define __NR_move_pages (__NR_Linux + 267)
677#define __NR_set_robust_list (__NR_Linux + 268)
678#define __NR_get_robust_list (__NR_Linux + 269)
679#define __NR_kexec_load (__NR_Linux + 270)
680#define __NR_getcpu (__NR_Linux + 271)
681#define __NR_epoll_pwait (__NR_Linux + 272)
682#define __NR_ioprio_set (__NR_Linux + 273)
683#define __NR_ioprio_get (__NR_Linux + 274)
684#define __NR_utimensat (__NR_Linux + 275)
685#define __NR_signalfd (__NR_Linux + 276)
686#define __NR_timerfd (__NR_Linux + 277)
687#define __NR_eventfd (__NR_Linux + 278)
688#define __NR_fallocate (__NR_Linux + 279)
689#define __NR_timerfd_create (__NR_Linux + 280)
690#define __NR_timerfd_gettime (__NR_Linux + 281)
691#define __NR_timerfd_settime (__NR_Linux + 282)
692#define __NR_signalfd4 (__NR_Linux + 283)
693#define __NR_eventfd2 (__NR_Linux + 284)
694#define __NR_epoll_create1 (__NR_Linux + 285)
695#define __NR_dup3 (__NR_Linux + 286)
696#define __NR_pipe2 (__NR_Linux + 287)
697#define __NR_inotify_init1 (__NR_Linux + 288)
698#define __NR_preadv (__NR_Linux + 289)
699#define __NR_pwritev (__NR_Linux + 290)
700#define __NR_rt_tgsigqueueinfo (__NR_Linux + 291)
701#define __NR_perf_event_open (__NR_Linux + 292)
702#define __NR_accept4 (__NR_Linux + 293)
703#define __NR_recvmmsg (__NR_Linux + 294)
704#define __NR_fanotify_init (__NR_Linux + 295)
705#define __NR_fanotify_mark (__NR_Linux + 296)
706#define __NR_prlimit64 (__NR_Linux + 297)
707#define __NR_name_to_handle_at (__NR_Linux + 298)
708#define __NR_open_by_handle_at (__NR_Linux + 299)
709#define __NR_clock_adjtime (__NR_Linux + 300)
710#define __NR_syncfs (__NR_Linux + 301)
711#define __NR_sendmmsg (__NR_Linux + 302)
712#define __NR_setns (__NR_Linux + 303)
713#define __NR_process_vm_readv (__NR_Linux + 304)
714#define __NR_process_vm_writev (__NR_Linux + 305)
715#define __NR_kcmp (__NR_Linux + 306)
716#define __NR_finit_module (__NR_Linux + 307)
717#define __NR_getdents64 (__NR_Linux + 308)
718#define __NR_sched_setattr (__NR_Linux + 309)
719#define __NR_sched_getattr (__NR_Linux + 310)
720#define __NR_renameat2 (__NR_Linux + 311)
721#define __NR_seccomp (__NR_Linux + 312)
722#define __NR_getrandom (__NR_Linux + 313)
723#define __NR_memfd_create (__NR_Linux + 314)
724#define __NR_bpf (__NR_Linux + 315)
725#define __NR_execveat (__NR_Linux + 316)
726#define __NR_userfaultfd (__NR_Linux + 317)
727#define __NR_membarrier (__NR_Linux + 318)
728#define __NR_mlock2 (__NR_Linux + 319)
729#define __NR_copy_file_range (__NR_Linux + 320)
730#define __NR_preadv2 (__NR_Linux + 321)
731#define __NR_pwritev2 (__NR_Linux + 322)
732#define __NR_pkey_mprotect (__NR_Linux + 323)
733#define __NR_pkey_alloc (__NR_Linux + 324)
734#define __NR_pkey_free (__NR_Linux + 325)
735#define __NR_statx (__NR_Linux + 326)
736#define __NR_rseq (__NR_Linux + 327)
737#define __NR_io_pgetevents (__NR_Linux + 328)
738
739#ifdef __KERNEL__
740#define __NR_syscalls 329
741#endif
742 29
743#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 30#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
744 31
745#define __NR_64_Linux 5000
746#define __NR_64_Linux_syscalls 329
747
748#if _MIPS_SIM == _MIPS_SIM_NABI32 32#if _MIPS_SIM == _MIPS_SIM_NABI32
749 33
750/* 34#define __NR_Linux 6000
751 * Linux N32 syscalls are in the range from 6000 to 6999. 35#include <asm/unistd_n32.h>
752 */
753#define __NR_Linux 6000
754#define __NR_read (__NR_Linux + 0)
755#define __NR_write (__NR_Linux + 1)
756#define __NR_open (__NR_Linux + 2)
757#define __NR_close (__NR_Linux + 3)
758#define __NR_stat (__NR_Linux + 4)
759#define __NR_fstat (__NR_Linux + 5)
760#define __NR_lstat (__NR_Linux + 6)
761#define __NR_poll (__NR_Linux + 7)
762#define __NR_lseek (__NR_Linux + 8)
763#define __NR_mmap (__NR_Linux + 9)
764#define __NR_mprotect (__NR_Linux + 10)
765#define __NR_munmap (__NR_Linux + 11)
766#define __NR_brk (__NR_Linux + 12)
767#define __NR_rt_sigaction (__NR_Linux + 13)
768#define __NR_rt_sigprocmask (__NR_Linux + 14)
769#define __NR_ioctl (__NR_Linux + 15)
770#define __NR_pread64 (__NR_Linux + 16)
771#define __NR_pwrite64 (__NR_Linux + 17)
772#define __NR_readv (__NR_Linux + 18)
773#define __NR_writev (__NR_Linux + 19)
774#define __NR_access (__NR_Linux + 20)
775#define __NR_pipe (__NR_Linux + 21)
776#define __NR__newselect (__NR_Linux + 22)
777#define __NR_sched_yield (__NR_Linux + 23)
778#define __NR_mremap (__NR_Linux + 24)
779#define __NR_msync (__NR_Linux + 25)
780#define __NR_mincore (__NR_Linux + 26)
781#define __NR_madvise (__NR_Linux + 27)
782#define __NR_shmget (__NR_Linux + 28)
783#define __NR_shmat (__NR_Linux + 29)
784#define __NR_shmctl (__NR_Linux + 30)
785#define __NR_dup (__NR_Linux + 31)
786#define __NR_dup2 (__NR_Linux + 32)
787#define __NR_pause (__NR_Linux + 33)
788#define __NR_nanosleep (__NR_Linux + 34)
789#define __NR_getitimer (__NR_Linux + 35)
790#define __NR_setitimer (__NR_Linux + 36)
791#define __NR_alarm (__NR_Linux + 37)
792#define __NR_getpid (__NR_Linux + 38)
793#define __NR_sendfile (__NR_Linux + 39)
794#define __NR_socket (__NR_Linux + 40)
795#define __NR_connect (__NR_Linux + 41)
796#define __NR_accept (__NR_Linux + 42)
797#define __NR_sendto (__NR_Linux + 43)
798#define __NR_recvfrom (__NR_Linux + 44)
799#define __NR_sendmsg (__NR_Linux + 45)
800#define __NR_recvmsg (__NR_Linux + 46)
801#define __NR_shutdown (__NR_Linux + 47)
802#define __NR_bind (__NR_Linux + 48)
803#define __NR_listen (__NR_Linux + 49)
804#define __NR_getsockname (__NR_Linux + 50)
805#define __NR_getpeername (__NR_Linux + 51)
806#define __NR_socketpair (__NR_Linux + 52)
807#define __NR_setsockopt (__NR_Linux + 53)
808#define __NR_getsockopt (__NR_Linux + 54)
809#define __NR_clone (__NR_Linux + 55)
810#define __NR_fork (__NR_Linux + 56)
811#define __NR_execve (__NR_Linux + 57)
812#define __NR_exit (__NR_Linux + 58)
813#define __NR_wait4 (__NR_Linux + 59)
814#define __NR_kill (__NR_Linux + 60)
815#define __NR_uname (__NR_Linux + 61)
816#define __NR_semget (__NR_Linux + 62)
817#define __NR_semop (__NR_Linux + 63)
818#define __NR_semctl (__NR_Linux + 64)
819#define __NR_shmdt (__NR_Linux + 65)
820#define __NR_msgget (__NR_Linux + 66)
821#define __NR_msgsnd (__NR_Linux + 67)
822#define __NR_msgrcv (__NR_Linux + 68)
823#define __NR_msgctl (__NR_Linux + 69)
824#define __NR_fcntl (__NR_Linux + 70)
825#define __NR_flock (__NR_Linux + 71)
826#define __NR_fsync (__NR_Linux + 72)
827#define __NR_fdatasync (__NR_Linux + 73)
828#define __NR_truncate (__NR_Linux + 74)
829#define __NR_ftruncate (__NR_Linux + 75)
830#define __NR_getdents (__NR_Linux + 76)
831#define __NR_getcwd (__NR_Linux + 77)
832#define __NR_chdir (__NR_Linux + 78)
833#define __NR_fchdir (__NR_Linux + 79)
834#define __NR_rename (__NR_Linux + 80)
835#define __NR_mkdir (__NR_Linux + 81)
836#define __NR_rmdir (__NR_Linux + 82)
837#define __NR_creat (__NR_Linux + 83)
838#define __NR_link (__NR_Linux + 84)
839#define __NR_unlink (__NR_Linux + 85)
840#define __NR_symlink (__NR_Linux + 86)
841#define __NR_readlink (__NR_Linux + 87)
842#define __NR_chmod (__NR_Linux + 88)
843#define __NR_fchmod (__NR_Linux + 89)
844#define __NR_chown (__NR_Linux + 90)
845#define __NR_fchown (__NR_Linux + 91)
846#define __NR_lchown (__NR_Linux + 92)
847#define __NR_umask (__NR_Linux + 93)
848#define __NR_gettimeofday (__NR_Linux + 94)
849#define __NR_getrlimit (__NR_Linux + 95)
850#define __NR_getrusage (__NR_Linux + 96)
851#define __NR_sysinfo (__NR_Linux + 97)
852#define __NR_times (__NR_Linux + 98)
853#define __NR_ptrace (__NR_Linux + 99)
854#define __NR_getuid (__NR_Linux + 100)
855#define __NR_syslog (__NR_Linux + 101)
856#define __NR_getgid (__NR_Linux + 102)
857#define __NR_setuid (__NR_Linux + 103)
858#define __NR_setgid (__NR_Linux + 104)
859#define __NR_geteuid (__NR_Linux + 105)
860#define __NR_getegid (__NR_Linux + 106)
861#define __NR_setpgid (__NR_Linux + 107)
862#define __NR_getppid (__NR_Linux + 108)
863#define __NR_getpgrp (__NR_Linux + 109)
864#define __NR_setsid (__NR_Linux + 110)
865#define __NR_setreuid (__NR_Linux + 111)
866#define __NR_setregid (__NR_Linux + 112)
867#define __NR_getgroups (__NR_Linux + 113)
868#define __NR_setgroups (__NR_Linux + 114)
869#define __NR_setresuid (__NR_Linux + 115)
870#define __NR_getresuid (__NR_Linux + 116)
871#define __NR_setresgid (__NR_Linux + 117)
872#define __NR_getresgid (__NR_Linux + 118)
873#define __NR_getpgid (__NR_Linux + 119)
874#define __NR_setfsuid (__NR_Linux + 120)
875#define __NR_setfsgid (__NR_Linux + 121)
876#define __NR_getsid (__NR_Linux + 122)
877#define __NR_capget (__NR_Linux + 123)
878#define __NR_capset (__NR_Linux + 124)
879#define __NR_rt_sigpending (__NR_Linux + 125)
880#define __NR_rt_sigtimedwait (__NR_Linux + 126)
881#define __NR_rt_sigqueueinfo (__NR_Linux + 127)
882#define __NR_rt_sigsuspend (__NR_Linux + 128)
883#define __NR_sigaltstack (__NR_Linux + 129)
884#define __NR_utime (__NR_Linux + 130)
885#define __NR_mknod (__NR_Linux + 131)
886#define __NR_personality (__NR_Linux + 132)
887#define __NR_ustat (__NR_Linux + 133)
888#define __NR_statfs (__NR_Linux + 134)
889#define __NR_fstatfs (__NR_Linux + 135)
890#define __NR_sysfs (__NR_Linux + 136)
891#define __NR_getpriority (__NR_Linux + 137)
892#define __NR_setpriority (__NR_Linux + 138)
893#define __NR_sched_setparam (__NR_Linux + 139)
894#define __NR_sched_getparam (__NR_Linux + 140)
895#define __NR_sched_setscheduler (__NR_Linux + 141)
896#define __NR_sched_getscheduler (__NR_Linux + 142)
897#define __NR_sched_get_priority_max (__NR_Linux + 143)
898#define __NR_sched_get_priority_min (__NR_Linux + 144)
899#define __NR_sched_rr_get_interval (__NR_Linux + 145)
900#define __NR_mlock (__NR_Linux + 146)
901#define __NR_munlock (__NR_Linux + 147)
902#define __NR_mlockall (__NR_Linux + 148)
903#define __NR_munlockall (__NR_Linux + 149)
904#define __NR_vhangup (__NR_Linux + 150)
905#define __NR_pivot_root (__NR_Linux + 151)
906#define __NR__sysctl (__NR_Linux + 152)
907#define __NR_prctl (__NR_Linux + 153)
908#define __NR_adjtimex (__NR_Linux + 154)
909#define __NR_setrlimit (__NR_Linux + 155)
910#define __NR_chroot (__NR_Linux + 156)
911#define __NR_sync (__NR_Linux + 157)
912#define __NR_acct (__NR_Linux + 158)
913#define __NR_settimeofday (__NR_Linux + 159)
914#define __NR_mount (__NR_Linux + 160)
915#define __NR_umount2 (__NR_Linux + 161)
916#define __NR_swapon (__NR_Linux + 162)
917#define __NR_swapoff (__NR_Linux + 163)
918#define __NR_reboot (__NR_Linux + 164)
919#define __NR_sethostname (__NR_Linux + 165)
920#define __NR_setdomainname (__NR_Linux + 166)
921#define __NR_create_module (__NR_Linux + 167)
922#define __NR_init_module (__NR_Linux + 168)
923#define __NR_delete_module (__NR_Linux + 169)
924#define __NR_get_kernel_syms (__NR_Linux + 170)
925#define __NR_query_module (__NR_Linux + 171)
926#define __NR_quotactl (__NR_Linux + 172)
927#define __NR_nfsservctl (__NR_Linux + 173)
928#define __NR_getpmsg (__NR_Linux + 174)
929#define __NR_putpmsg (__NR_Linux + 175)
930#define __NR_afs_syscall (__NR_Linux + 176)
931#define __NR_reserved177 (__NR_Linux + 177)
932#define __NR_gettid (__NR_Linux + 178)
933#define __NR_readahead (__NR_Linux + 179)
934#define __NR_setxattr (__NR_Linux + 180)
935#define __NR_lsetxattr (__NR_Linux + 181)
936#define __NR_fsetxattr (__NR_Linux + 182)
937#define __NR_getxattr (__NR_Linux + 183)
938#define __NR_lgetxattr (__NR_Linux + 184)
939#define __NR_fgetxattr (__NR_Linux + 185)
940#define __NR_listxattr (__NR_Linux + 186)
941#define __NR_llistxattr (__NR_Linux + 187)
942#define __NR_flistxattr (__NR_Linux + 188)
943#define __NR_removexattr (__NR_Linux + 189)
944#define __NR_lremovexattr (__NR_Linux + 190)
945#define __NR_fremovexattr (__NR_Linux + 191)
946#define __NR_tkill (__NR_Linux + 192)
947#define __NR_reserved193 (__NR_Linux + 193)
948#define __NR_futex (__NR_Linux + 194)
949#define __NR_sched_setaffinity (__NR_Linux + 195)
950#define __NR_sched_getaffinity (__NR_Linux + 196)
951#define __NR_cacheflush (__NR_Linux + 197)
952#define __NR_cachectl (__NR_Linux + 198)
953#define __NR_sysmips (__NR_Linux + 199)
954#define __NR_io_setup (__NR_Linux + 200)
955#define __NR_io_destroy (__NR_Linux + 201)
956#define __NR_io_getevents (__NR_Linux + 202)
957#define __NR_io_submit (__NR_Linux + 203)
958#define __NR_io_cancel (__NR_Linux + 204)
959#define __NR_exit_group (__NR_Linux + 205)
960#define __NR_lookup_dcookie (__NR_Linux + 206)
961#define __NR_epoll_create (__NR_Linux + 207)
962#define __NR_epoll_ctl (__NR_Linux + 208)
963#define __NR_epoll_wait (__NR_Linux + 209)
964#define __NR_remap_file_pages (__NR_Linux + 210)
965#define __NR_rt_sigreturn (__NR_Linux + 211)
966#define __NR_fcntl64 (__NR_Linux + 212)
967#define __NR_set_tid_address (__NR_Linux + 213)
968#define __NR_restart_syscall (__NR_Linux + 214)
969#define __NR_semtimedop (__NR_Linux + 215)
970#define __NR_fadvise64 (__NR_Linux + 216)
971#define __NR_statfs64 (__NR_Linux + 217)
972#define __NR_fstatfs64 (__NR_Linux + 218)
973#define __NR_sendfile64 (__NR_Linux + 219)
974#define __NR_timer_create (__NR_Linux + 220)
975#define __NR_timer_settime (__NR_Linux + 221)
976#define __NR_timer_gettime (__NR_Linux + 222)
977#define __NR_timer_getoverrun (__NR_Linux + 223)
978#define __NR_timer_delete (__NR_Linux + 224)
979#define __NR_clock_settime (__NR_Linux + 225)
980#define __NR_clock_gettime (__NR_Linux + 226)
981#define __NR_clock_getres (__NR_Linux + 227)
982#define __NR_clock_nanosleep (__NR_Linux + 228)
983#define __NR_tgkill (__NR_Linux + 229)
984#define __NR_utimes (__NR_Linux + 230)
985#define __NR_mbind (__NR_Linux + 231)
986#define __NR_get_mempolicy (__NR_Linux + 232)
987#define __NR_set_mempolicy (__NR_Linux + 233)
988#define __NR_mq_open (__NR_Linux + 234)
989#define __NR_mq_unlink (__NR_Linux + 235)
990#define __NR_mq_timedsend (__NR_Linux + 236)
991#define __NR_mq_timedreceive (__NR_Linux + 237)
992#define __NR_mq_notify (__NR_Linux + 238)
993#define __NR_mq_getsetattr (__NR_Linux + 239)
994#define __NR_vserver (__NR_Linux + 240)
995#define __NR_waitid (__NR_Linux + 241)
996/* #define __NR_sys_setaltroot (__NR_Linux + 242) */
997#define __NR_add_key (__NR_Linux + 243)
998#define __NR_request_key (__NR_Linux + 244)
999#define __NR_keyctl (__NR_Linux + 245)
1000#define __NR_set_thread_area (__NR_Linux + 246)
1001#define __NR_inotify_init (__NR_Linux + 247)
1002#define __NR_inotify_add_watch (__NR_Linux + 248)
1003#define __NR_inotify_rm_watch (__NR_Linux + 249)
1004#define __NR_migrate_pages (__NR_Linux + 250)
1005#define __NR_openat (__NR_Linux + 251)
1006#define __NR_mkdirat (__NR_Linux + 252)
1007#define __NR_mknodat (__NR_Linux + 253)
1008#define __NR_fchownat (__NR_Linux + 254)
1009#define __NR_futimesat (__NR_Linux + 255)
1010#define __NR_newfstatat (__NR_Linux + 256)
1011#define __NR_unlinkat (__NR_Linux + 257)
1012#define __NR_renameat (__NR_Linux + 258)
1013#define __NR_linkat (__NR_Linux + 259)
1014#define __NR_symlinkat (__NR_Linux + 260)
1015#define __NR_readlinkat (__NR_Linux + 261)
1016#define __NR_fchmodat (__NR_Linux + 262)
1017#define __NR_faccessat (__NR_Linux + 263)
1018#define __NR_pselect6 (__NR_Linux + 264)
1019#define __NR_ppoll (__NR_Linux + 265)
1020#define __NR_unshare (__NR_Linux + 266)
1021#define __NR_splice (__NR_Linux + 267)
1022#define __NR_sync_file_range (__NR_Linux + 268)
1023#define __NR_tee (__NR_Linux + 269)
1024#define __NR_vmsplice (__NR_Linux + 270)
1025#define __NR_move_pages (__NR_Linux + 271)
1026#define __NR_set_robust_list (__NR_Linux + 272)
1027#define __NR_get_robust_list (__NR_Linux + 273)
1028#define __NR_kexec_load (__NR_Linux + 274)
1029#define __NR_getcpu (__NR_Linux + 275)
1030#define __NR_epoll_pwait (__NR_Linux + 276)
1031#define __NR_ioprio_set (__NR_Linux + 277)
1032#define __NR_ioprio_get (__NR_Linux + 278)
1033#define __NR_utimensat (__NR_Linux + 279)
1034#define __NR_signalfd (__NR_Linux + 280)
1035#define __NR_timerfd (__NR_Linux + 281)
1036#define __NR_eventfd (__NR_Linux + 282)
1037#define __NR_fallocate (__NR_Linux + 283)
1038#define __NR_timerfd_create (__NR_Linux + 284)
1039#define __NR_timerfd_gettime (__NR_Linux + 285)
1040#define __NR_timerfd_settime (__NR_Linux + 286)
1041#define __NR_signalfd4 (__NR_Linux + 287)
1042#define __NR_eventfd2 (__NR_Linux + 288)
1043#define __NR_epoll_create1 (__NR_Linux + 289)
1044#define __NR_dup3 (__NR_Linux + 290)
1045#define __NR_pipe2 (__NR_Linux + 291)
1046#define __NR_inotify_init1 (__NR_Linux + 292)
1047#define __NR_preadv (__NR_Linux + 293)
1048#define __NR_pwritev (__NR_Linux + 294)
1049#define __NR_rt_tgsigqueueinfo (__NR_Linux + 295)
1050#define __NR_perf_event_open (__NR_Linux + 296)
1051#define __NR_accept4 (__NR_Linux + 297)
1052#define __NR_recvmmsg (__NR_Linux + 298)
1053#define __NR_getdents64 (__NR_Linux + 299)
1054#define __NR_fanotify_init (__NR_Linux + 300)
1055#define __NR_fanotify_mark (__NR_Linux + 301)
1056#define __NR_prlimit64 (__NR_Linux + 302)
1057#define __NR_name_to_handle_at (__NR_Linux + 303)
1058#define __NR_open_by_handle_at (__NR_Linux + 304)
1059#define __NR_clock_adjtime (__NR_Linux + 305)
1060#define __NR_syncfs (__NR_Linux + 306)
1061#define __NR_sendmmsg (__NR_Linux + 307)
1062#define __NR_setns (__NR_Linux + 308)
1063#define __NR_process_vm_readv (__NR_Linux + 309)
1064#define __NR_process_vm_writev (__NR_Linux + 310)
1065#define __NR_kcmp (__NR_Linux + 311)
1066#define __NR_finit_module (__NR_Linux + 312)
1067#define __NR_sched_setattr (__NR_Linux + 313)
1068#define __NR_sched_getattr (__NR_Linux + 314)
1069#define __NR_renameat2 (__NR_Linux + 315)
1070#define __NR_seccomp (__NR_Linux + 316)
1071#define __NR_getrandom (__NR_Linux + 317)
1072#define __NR_memfd_create (__NR_Linux + 318)
1073#define __NR_bpf (__NR_Linux + 319)
1074#define __NR_execveat (__NR_Linux + 320)
1075#define __NR_userfaultfd (__NR_Linux + 321)
1076#define __NR_membarrier (__NR_Linux + 322)
1077#define __NR_mlock2 (__NR_Linux + 323)
1078#define __NR_copy_file_range (__NR_Linux + 324)
1079#define __NR_preadv2 (__NR_Linux + 325)
1080#define __NR_pwritev2 (__NR_Linux + 326)
1081#define __NR_pkey_mprotect (__NR_Linux + 327)
1082#define __NR_pkey_alloc (__NR_Linux + 328)
1083#define __NR_pkey_free (__NR_Linux + 329)
1084#define __NR_statx (__NR_Linux + 330)
1085#define __NR_rseq (__NR_Linux + 331)
1086#define __NR_io_pgetevents (__NR_Linux + 332)
1087
1088#ifdef __KERNEL__
1089#define __NR_syscalls 333
1090#endif
1091 36
1092#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 37#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
1093 38
1094#define __NR_N32_Linux 6000
1095#define __NR_N32_Linux_syscalls 333
1096
1097#endif /* _UAPI_ASM_UNISTD_H */ 39#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index 43fa5cd9d8a2..d9434cd0f568 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -217,375 +217,9 @@ einval: li v0, -ENOSYS
217#define sys_sched_getaffinity mipsmt_sys_sched_getaffinity 217#define sys_sched_getaffinity mipsmt_sys_sched_getaffinity
218#endif /* CONFIG_MIPS_MT_FPAFF */ 218#endif /* CONFIG_MIPS_MT_FPAFF */
219 219
220#define __SYSCALL(nr, entry, nargs) PTR entry
220 .align 2 221 .align 2
221 .type sys_call_table, @object 222 .type sys_call_table, @object
222EXPORT(sys_call_table) 223EXPORT(sys_call_table)
223 PTR sys_syscall /* 4000 */ 224#include <asm/syscall_table_32_o32.h>
224 PTR sys_exit 225#undef __SYSCALL
225 PTR __sys_fork
226 PTR sys_read
227 PTR sys_write
228 PTR sys_open /* 4005 */
229 PTR sys_close
230 PTR sys_waitpid
231 PTR sys_creat
232 PTR sys_link
233 PTR sys_unlink /* 4010 */
234 PTR sys_execve
235 PTR sys_chdir
236 PTR sys_time
237 PTR sys_mknod
238 PTR sys_chmod /* 4015 */
239 PTR sys_lchown
240 PTR sys_ni_syscall
241 PTR sys_ni_syscall /* was sys_stat */
242 PTR sys_lseek
243 PTR sys_getpid /* 4020 */
244 PTR sys_mount
245 PTR sys_oldumount
246 PTR sys_setuid
247 PTR sys_getuid
248 PTR sys_stime /* 4025 */
249 PTR sys_ptrace
250 PTR sys_alarm
251 PTR sys_ni_syscall /* was sys_fstat */
252 PTR sys_pause
253 PTR sys_utime /* 4030 */
254 PTR sys_ni_syscall
255 PTR sys_ni_syscall
256 PTR sys_access
257 PTR sys_nice
258 PTR sys_ni_syscall /* 4035 */
259 PTR sys_sync
260 PTR sys_kill
261 PTR sys_rename
262 PTR sys_mkdir
263 PTR sys_rmdir /* 4040 */
264 PTR sys_dup
265 PTR sysm_pipe
266 PTR sys_times
267 PTR sys_ni_syscall
268 PTR sys_brk /* 4045 */
269 PTR sys_setgid
270 PTR sys_getgid
271 PTR sys_ni_syscall /* was signal(2) */
272 PTR sys_geteuid
273 PTR sys_getegid /* 4050 */
274 PTR sys_acct
275 PTR sys_umount
276 PTR sys_ni_syscall
277 PTR sys_ioctl
278 PTR sys_fcntl /* 4055 */
279 PTR sys_ni_syscall
280 PTR sys_setpgid
281 PTR sys_ni_syscall
282 PTR sys_olduname
283 PTR sys_umask /* 4060 */
284 PTR sys_chroot
285 PTR sys_ustat
286 PTR sys_dup2
287 PTR sys_getppid
288 PTR sys_getpgrp /* 4065 */
289 PTR sys_setsid
290 PTR sys_sigaction
291 PTR sys_sgetmask
292 PTR sys_ssetmask
293 PTR sys_setreuid /* 4070 */
294 PTR sys_setregid
295 PTR sys_sigsuspend
296 PTR sys_sigpending
297 PTR sys_sethostname
298 PTR sys_setrlimit /* 4075 */
299 PTR sys_getrlimit
300 PTR sys_getrusage
301 PTR sys_gettimeofday
302 PTR sys_settimeofday
303 PTR sys_getgroups /* 4080 */
304 PTR sys_setgroups
305 PTR sys_ni_syscall /* old_select */
306 PTR sys_symlink
307 PTR sys_ni_syscall /* was sys_lstat */
308 PTR sys_readlink /* 4085 */
309 PTR sys_uselib
310 PTR sys_swapon
311 PTR sys_reboot
312 PTR sys_old_readdir
313 PTR sys_mips_mmap /* 4090 */
314 PTR sys_munmap
315 PTR sys_truncate
316 PTR sys_ftruncate
317 PTR sys_fchmod
318 PTR sys_fchown /* 4095 */
319 PTR sys_getpriority
320 PTR sys_setpriority
321 PTR sys_ni_syscall
322 PTR sys_statfs
323 PTR sys_fstatfs /* 4100 */
324 PTR sys_ni_syscall /* was ioperm(2) */
325 PTR sys_socketcall
326 PTR sys_syslog
327 PTR sys_setitimer
328 PTR sys_getitimer /* 4105 */
329 PTR sys_newstat
330 PTR sys_newlstat
331 PTR sys_newfstat
332 PTR sys_uname
333 PTR sys_ni_syscall /* 4110 was iopl(2) */
334 PTR sys_vhangup
335 PTR sys_ni_syscall /* was sys_idle() */
336 PTR sys_ni_syscall /* was sys_vm86 */
337 PTR sys_wait4
338 PTR sys_swapoff /* 4115 */
339 PTR sys_sysinfo
340 PTR sys_ipc
341 PTR sys_fsync
342 PTR sys_sigreturn
343 PTR __sys_clone /* 4120 */
344 PTR sys_setdomainname
345 PTR sys_newuname
346 PTR sys_ni_syscall /* sys_modify_ldt */
347 PTR sys_adjtimex
348 PTR sys_mprotect /* 4125 */
349 PTR sys_sigprocmask
350 PTR sys_ni_syscall /* was create_module */
351 PTR sys_init_module
352 PTR sys_delete_module
353 PTR sys_ni_syscall /* 4130 was get_kernel_syms */
354 PTR sys_quotactl
355 PTR sys_getpgid
356 PTR sys_fchdir
357 PTR sys_bdflush
358 PTR sys_sysfs /* 4135 */
359 PTR sys_personality
360 PTR sys_ni_syscall /* for afs_syscall */
361 PTR sys_setfsuid
362 PTR sys_setfsgid
363 PTR sys_llseek /* 4140 */
364 PTR sys_getdents
365 PTR sys_select
366 PTR sys_flock
367 PTR sys_msync
368 PTR sys_readv /* 4145 */
369 PTR sys_writev
370 PTR sys_cacheflush
371 PTR sys_cachectl
372 PTR __sys_sysmips
373 PTR sys_ni_syscall /* 4150 */
374 PTR sys_getsid
375 PTR sys_fdatasync
376 PTR sys_sysctl
377 PTR sys_mlock
378 PTR sys_munlock /* 4155 */
379 PTR sys_mlockall
380 PTR sys_munlockall
381 PTR sys_sched_setparam
382 PTR sys_sched_getparam
383 PTR sys_sched_setscheduler /* 4160 */
384 PTR sys_sched_getscheduler
385 PTR sys_sched_yield
386 PTR sys_sched_get_priority_max
387 PTR sys_sched_get_priority_min
388 PTR sys_sched_rr_get_interval /* 4165 */
389 PTR sys_nanosleep
390 PTR sys_mremap
391 PTR sys_accept
392 PTR sys_bind
393 PTR sys_connect /* 4170 */
394 PTR sys_getpeername
395 PTR sys_getsockname
396 PTR sys_getsockopt
397 PTR sys_listen
398 PTR sys_recv /* 4175 */
399 PTR sys_recvfrom
400 PTR sys_recvmsg
401 PTR sys_send
402 PTR sys_sendmsg
403 PTR sys_sendto /* 4180 */
404 PTR sys_setsockopt
405 PTR sys_shutdown
406 PTR sys_socket
407 PTR sys_socketpair
408 PTR sys_setresuid /* 4185 */
409 PTR sys_getresuid
410 PTR sys_ni_syscall /* was sys_query_module */
411 PTR sys_poll
412 PTR sys_ni_syscall /* was nfsservctl */
413 PTR sys_setresgid /* 4190 */
414 PTR sys_getresgid
415 PTR sys_prctl
416 PTR sys_rt_sigreturn
417 PTR sys_rt_sigaction
418 PTR sys_rt_sigprocmask /* 4195 */
419 PTR sys_rt_sigpending
420 PTR sys_rt_sigtimedwait
421 PTR sys_rt_sigqueueinfo
422 PTR sys_rt_sigsuspend
423 PTR sys_pread64 /* 4200 */
424 PTR sys_pwrite64
425 PTR sys_chown
426 PTR sys_getcwd
427 PTR sys_capget
428 PTR sys_capset /* 4205 */
429 PTR sys_sigaltstack
430 PTR sys_sendfile
431 PTR sys_ni_syscall
432 PTR sys_ni_syscall
433 PTR sys_mips_mmap2 /* 4210 */
434 PTR sys_truncate64
435 PTR sys_ftruncate64
436 PTR sys_stat64
437 PTR sys_lstat64
438 PTR sys_fstat64 /* 4215 */
439 PTR sys_pivot_root
440 PTR sys_mincore
441 PTR sys_madvise
442 PTR sys_getdents64
443 PTR sys_fcntl64 /* 4220 */
444 PTR sys_ni_syscall
445 PTR sys_gettid
446 PTR sys_readahead
447 PTR sys_setxattr
448 PTR sys_lsetxattr /* 4225 */
449 PTR sys_fsetxattr
450 PTR sys_getxattr
451 PTR sys_lgetxattr
452 PTR sys_fgetxattr
453 PTR sys_listxattr /* 4230 */
454 PTR sys_llistxattr
455 PTR sys_flistxattr
456 PTR sys_removexattr
457 PTR sys_lremovexattr
458 PTR sys_fremovexattr /* 4235 */
459 PTR sys_tkill
460 PTR sys_sendfile64
461 PTR sys_futex
462 PTR sys_sched_setaffinity
463 PTR sys_sched_getaffinity /* 4240 */
464 PTR sys_io_setup
465 PTR sys_io_destroy
466 PTR sys_io_getevents
467 PTR sys_io_submit
468 PTR sys_io_cancel /* 4245 */
469 PTR sys_exit_group
470 PTR sys_lookup_dcookie
471 PTR sys_epoll_create
472 PTR sys_epoll_ctl
473 PTR sys_epoll_wait /* 4250 */
474 PTR sys_remap_file_pages
475 PTR sys_set_tid_address
476 PTR sys_restart_syscall
477 PTR sys_fadvise64_64
478 PTR sys_statfs64 /* 4255 */
479 PTR sys_fstatfs64
480 PTR sys_timer_create
481 PTR sys_timer_settime
482 PTR sys_timer_gettime
483 PTR sys_timer_getoverrun /* 4260 */
484 PTR sys_timer_delete
485 PTR sys_clock_settime
486 PTR sys_clock_gettime
487 PTR sys_clock_getres
488 PTR sys_clock_nanosleep /* 4265 */
489 PTR sys_tgkill
490 PTR sys_utimes
491 PTR sys_mbind
492 PTR sys_get_mempolicy
493 PTR sys_set_mempolicy /* 4270 */
494 PTR sys_mq_open
495 PTR sys_mq_unlink
496 PTR sys_mq_timedsend
497 PTR sys_mq_timedreceive
498 PTR sys_mq_notify /* 4275 */
499 PTR sys_mq_getsetattr
500 PTR sys_ni_syscall /* sys_vserver */
501 PTR sys_waitid
502 PTR sys_ni_syscall /* available, was setaltroot */
503 PTR sys_add_key /* 4280 */
504 PTR sys_request_key
505 PTR sys_keyctl
506 PTR sys_set_thread_area
507 PTR sys_inotify_init
508 PTR sys_inotify_add_watch /* 4285 */
509 PTR sys_inotify_rm_watch
510 PTR sys_migrate_pages
511 PTR sys_openat
512 PTR sys_mkdirat
513 PTR sys_mknodat /* 4290 */
514 PTR sys_fchownat
515 PTR sys_futimesat
516 PTR sys_fstatat64
517 PTR sys_unlinkat
518 PTR sys_renameat /* 4295 */
519 PTR sys_linkat
520 PTR sys_symlinkat
521 PTR sys_readlinkat
522 PTR sys_fchmodat
523 PTR sys_faccessat /* 4300 */
524 PTR sys_pselect6
525 PTR sys_ppoll
526 PTR sys_unshare
527 PTR sys_splice
528 PTR sys_sync_file_range /* 4305 */
529 PTR sys_tee
530 PTR sys_vmsplice
531 PTR sys_move_pages
532 PTR sys_set_robust_list
533 PTR sys_get_robust_list /* 4310 */
534 PTR sys_kexec_load
535 PTR sys_getcpu
536 PTR sys_epoll_pwait
537 PTR sys_ioprio_set
538 PTR sys_ioprio_get /* 4315 */
539 PTR sys_utimensat
540 PTR sys_signalfd
541 PTR sys_ni_syscall /* was timerfd */
542 PTR sys_eventfd
543 PTR sys_fallocate /* 4320 */
544 PTR sys_timerfd_create
545 PTR sys_timerfd_gettime
546 PTR sys_timerfd_settime
547 PTR sys_signalfd4
548 PTR sys_eventfd2 /* 4325 */
549 PTR sys_epoll_create1
550 PTR sys_dup3
551 PTR sys_pipe2
552 PTR sys_inotify_init1
553 PTR sys_preadv /* 4330 */
554 PTR sys_pwritev
555 PTR sys_rt_tgsigqueueinfo
556 PTR sys_perf_event_open
557 PTR sys_accept4
558 PTR sys_recvmmsg /* 4335 */
559 PTR sys_fanotify_init
560 PTR sys_fanotify_mark
561 PTR sys_prlimit64
562 PTR sys_name_to_handle_at
563 PTR sys_open_by_handle_at /* 4340 */
564 PTR sys_clock_adjtime
565 PTR sys_syncfs
566 PTR sys_sendmmsg
567 PTR sys_setns
568 PTR sys_process_vm_readv /* 4345 */
569 PTR sys_process_vm_writev
570 PTR sys_kcmp
571 PTR sys_finit_module
572 PTR sys_sched_setattr
573 PTR sys_sched_getattr /* 4350 */
574 PTR sys_renameat2
575 PTR sys_seccomp
576 PTR sys_getrandom
577 PTR sys_memfd_create
578 PTR sys_bpf /* 4355 */
579 PTR sys_execveat
580 PTR sys_userfaultfd
581 PTR sys_membarrier
582 PTR sys_mlock2
583 PTR sys_copy_file_range /* 4360 */
584 PTR sys_preadv2
585 PTR sys_pwritev2
586 PTR sys_pkey_mprotect
587 PTR sys_pkey_alloc
588 PTR sys_pkey_free /* 4365 */
589 PTR sys_statx
590 PTR sys_rseq
591 PTR sys_io_pgetevents
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index 646854681ed1..c761ddfed9e6 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -101,339 +101,8 @@ not_n32_scall:
101 101
102 END(handle_sysn32) 102 END(handle_sysn32)
103 103
104#define __SYSCALL(nr, entry, nargs) PTR entry
104 .type sysn32_call_table, @object 105 .type sysn32_call_table, @object
105EXPORT(sysn32_call_table) 106EXPORT(sysn32_call_table)
106 PTR sys_read /* 6000 */ 107#include <asm/syscall_table_64_n32.h>
107 PTR sys_write 108#undef __SYSCALL
108 PTR sys_open
109 PTR sys_close
110 PTR sys_newstat
111 PTR sys_newfstat /* 6005 */
112 PTR sys_newlstat
113 PTR sys_poll
114 PTR sys_lseek
115 PTR sys_mips_mmap
116 PTR sys_mprotect /* 6010 */
117 PTR sys_munmap
118 PTR sys_brk
119 PTR compat_sys_rt_sigaction
120 PTR compat_sys_rt_sigprocmask
121 PTR compat_sys_ioctl /* 6015 */
122 PTR sys_pread64
123 PTR sys_pwrite64
124 PTR compat_sys_readv
125 PTR compat_sys_writev
126 PTR sys_access /* 6020 */
127 PTR sysm_pipe
128 PTR compat_sys_select
129 PTR sys_sched_yield
130 PTR sys_mremap
131 PTR sys_msync /* 6025 */
132 PTR sys_mincore
133 PTR sys_madvise
134 PTR sys_shmget
135 PTR sys_shmat
136 PTR compat_sys_shmctl /* 6030 */
137 PTR sys_dup
138 PTR sys_dup2
139 PTR sys_pause
140 PTR compat_sys_nanosleep
141 PTR compat_sys_getitimer /* 6035 */
142 PTR compat_sys_setitimer
143 PTR sys_alarm
144 PTR sys_getpid
145 PTR compat_sys_sendfile
146 PTR sys_socket /* 6040 */
147 PTR sys_connect
148 PTR sys_accept
149 PTR sys_sendto
150 PTR compat_sys_recvfrom
151 PTR compat_sys_sendmsg /* 6045 */
152 PTR compat_sys_recvmsg
153 PTR sys_shutdown
154 PTR sys_bind
155 PTR sys_listen
156 PTR sys_getsockname /* 6050 */
157 PTR sys_getpeername
158 PTR sys_socketpair
159 PTR compat_sys_setsockopt
160 PTR compat_sys_getsockopt
161 PTR __sys_clone /* 6055 */
162 PTR __sys_fork
163 PTR compat_sys_execve
164 PTR sys_exit
165 PTR compat_sys_wait4
166 PTR sys_kill /* 6060 */
167 PTR sys_newuname
168 PTR sys_semget
169 PTR sys_semop
170 PTR compat_sys_semctl
171 PTR sys_shmdt /* 6065 */
172 PTR sys_msgget
173 PTR compat_sys_msgsnd
174 PTR compat_sys_msgrcv
175 PTR compat_sys_msgctl
176 PTR compat_sys_fcntl /* 6070 */
177 PTR sys_flock
178 PTR sys_fsync
179 PTR sys_fdatasync
180 PTR sys_truncate
181 PTR sys_ftruncate /* 6075 */
182 PTR compat_sys_getdents
183 PTR sys_getcwd
184 PTR sys_chdir
185 PTR sys_fchdir
186 PTR sys_rename /* 6080 */
187 PTR sys_mkdir
188 PTR sys_rmdir
189 PTR sys_creat
190 PTR sys_link
191 PTR sys_unlink /* 6085 */
192 PTR sys_symlink
193 PTR sys_readlink
194 PTR sys_chmod
195 PTR sys_fchmod
196 PTR sys_chown /* 6090 */
197 PTR sys_fchown
198 PTR sys_lchown
199 PTR sys_umask
200 PTR compat_sys_gettimeofday
201 PTR compat_sys_getrlimit /* 6095 */
202 PTR compat_sys_getrusage
203 PTR compat_sys_sysinfo
204 PTR compat_sys_times
205 PTR compat_sys_ptrace
206 PTR sys_getuid /* 6100 */
207 PTR sys_syslog
208 PTR sys_getgid
209 PTR sys_setuid
210 PTR sys_setgid
211 PTR sys_geteuid /* 6105 */
212 PTR sys_getegid
213 PTR sys_setpgid
214 PTR sys_getppid
215 PTR sys_getpgrp
216 PTR sys_setsid /* 6110 */
217 PTR sys_setreuid
218 PTR sys_setregid
219 PTR sys_getgroups
220 PTR sys_setgroups
221 PTR sys_setresuid /* 6115 */
222 PTR sys_getresuid
223 PTR sys_setresgid
224 PTR sys_getresgid
225 PTR sys_getpgid
226 PTR sys_setfsuid /* 6120 */
227 PTR sys_setfsgid
228 PTR sys_getsid
229 PTR sys_capget
230 PTR sys_capset
231 PTR compat_sys_rt_sigpending /* 6125 */
232 PTR compat_sys_rt_sigtimedwait
233 PTR compat_sys_rt_sigqueueinfo
234 PTR compat_sys_rt_sigsuspend
235 PTR compat_sys_sigaltstack
236 PTR compat_sys_utime /* 6130 */
237 PTR sys_mknod
238 PTR sys_32_personality
239 PTR compat_sys_ustat
240 PTR compat_sys_statfs
241 PTR compat_sys_fstatfs /* 6135 */
242 PTR sys_sysfs
243 PTR sys_getpriority
244 PTR sys_setpriority
245 PTR sys_sched_setparam
246 PTR sys_sched_getparam /* 6140 */
247 PTR sys_sched_setscheduler
248 PTR sys_sched_getscheduler
249 PTR sys_sched_get_priority_max
250 PTR sys_sched_get_priority_min
251 PTR compat_sys_sched_rr_get_interval /* 6145 */
252 PTR sys_mlock
253 PTR sys_munlock
254 PTR sys_mlockall
255 PTR sys_munlockall
256 PTR sys_vhangup /* 6150 */
257 PTR sys_pivot_root
258 PTR compat_sys_sysctl
259 PTR sys_prctl
260 PTR compat_sys_adjtimex
261 PTR compat_sys_setrlimit /* 6155 */
262 PTR sys_chroot
263 PTR sys_sync
264 PTR sys_acct
265 PTR compat_sys_settimeofday
266 PTR compat_sys_mount /* 6160 */
267 PTR sys_umount
268 PTR sys_swapon
269 PTR sys_swapoff
270 PTR sys_reboot
271 PTR sys_sethostname /* 6165 */
272 PTR sys_setdomainname
273 PTR sys_ni_syscall /* was create_module */
274 PTR sys_init_module
275 PTR sys_delete_module
276 PTR sys_ni_syscall /* 6170, was get_kernel_syms */
277 PTR sys_ni_syscall /* was query_module */
278 PTR sys_quotactl
279 PTR sys_ni_syscall /* was nfsservctl */
280 PTR sys_ni_syscall /* res. for getpmsg */
281 PTR sys_ni_syscall /* 6175 for putpmsg */
282 PTR sys_ni_syscall /* res. for afs_syscall */
283 PTR sys_ni_syscall /* res. for security */
284 PTR sys_gettid
285 PTR sys_readahead
286 PTR sys_setxattr /* 6180 */
287 PTR sys_lsetxattr
288 PTR sys_fsetxattr
289 PTR sys_getxattr
290 PTR sys_lgetxattr
291 PTR sys_fgetxattr /* 6185 */
292 PTR sys_listxattr
293 PTR sys_llistxattr
294 PTR sys_flistxattr
295 PTR sys_removexattr
296 PTR sys_lremovexattr /* 6190 */
297 PTR sys_fremovexattr
298 PTR sys_tkill
299 PTR sys_ni_syscall
300 PTR compat_sys_futex
301 PTR compat_sys_sched_setaffinity /* 6195 */
302 PTR compat_sys_sched_getaffinity
303 PTR sys_cacheflush
304 PTR sys_cachectl
305 PTR __sys_sysmips
306 PTR compat_sys_io_setup /* 6200 */
307 PTR sys_io_destroy
308 PTR compat_sys_io_getevents
309 PTR compat_sys_io_submit
310 PTR sys_io_cancel
311 PTR sys_exit_group /* 6205 */
312 PTR sys_lookup_dcookie
313 PTR sys_epoll_create
314 PTR sys_epoll_ctl
315 PTR sys_epoll_wait
316 PTR sys_remap_file_pages /* 6210 */
317 PTR sysn32_rt_sigreturn
318 PTR compat_sys_fcntl64
319 PTR sys_set_tid_address
320 PTR sys_restart_syscall
321 PTR compat_sys_semtimedop /* 6215 */
322 PTR sys_fadvise64_64
323 PTR compat_sys_statfs64
324 PTR compat_sys_fstatfs64
325 PTR sys_sendfile64
326 PTR compat_sys_timer_create /* 6220 */
327 PTR compat_sys_timer_settime
328 PTR compat_sys_timer_gettime
329 PTR sys_timer_getoverrun
330 PTR sys_timer_delete
331 PTR compat_sys_clock_settime /* 6225 */
332 PTR compat_sys_clock_gettime
333 PTR compat_sys_clock_getres
334 PTR compat_sys_clock_nanosleep
335 PTR sys_tgkill
336 PTR compat_sys_utimes /* 6230 */
337 PTR compat_sys_mbind
338 PTR compat_sys_get_mempolicy
339 PTR compat_sys_set_mempolicy
340 PTR compat_sys_mq_open
341 PTR sys_mq_unlink /* 6235 */
342 PTR compat_sys_mq_timedsend
343 PTR compat_sys_mq_timedreceive
344 PTR compat_sys_mq_notify
345 PTR compat_sys_mq_getsetattr
346 PTR sys_ni_syscall /* 6240, sys_vserver */
347 PTR compat_sys_waitid
348 PTR sys_ni_syscall /* available, was setaltroot */
349 PTR sys_add_key
350 PTR sys_request_key
351 PTR compat_sys_keyctl /* 6245 */
352 PTR sys_set_thread_area
353 PTR sys_inotify_init
354 PTR sys_inotify_add_watch
355 PTR sys_inotify_rm_watch
356 PTR compat_sys_migrate_pages /* 6250 */
357 PTR sys_openat
358 PTR sys_mkdirat
359 PTR sys_mknodat
360 PTR sys_fchownat
361 PTR compat_sys_futimesat /* 6255 */
362 PTR sys_newfstatat
363 PTR sys_unlinkat
364 PTR sys_renameat
365 PTR sys_linkat
366 PTR sys_symlinkat /* 6260 */
367 PTR sys_readlinkat
368 PTR sys_fchmodat
369 PTR sys_faccessat
370 PTR compat_sys_pselect6
371 PTR compat_sys_ppoll /* 6265 */
372 PTR sys_unshare
373 PTR sys_splice
374 PTR sys_sync_file_range
375 PTR sys_tee
376 PTR compat_sys_vmsplice /* 6270 */
377 PTR compat_sys_move_pages
378 PTR compat_sys_set_robust_list
379 PTR compat_sys_get_robust_list
380 PTR compat_sys_kexec_load
381 PTR sys_getcpu /* 6275 */
382 PTR compat_sys_epoll_pwait
383 PTR sys_ioprio_set
384 PTR sys_ioprio_get
385 PTR compat_sys_utimensat
386 PTR compat_sys_signalfd /* 6280 */
387 PTR sys_ni_syscall /* was timerfd */
388 PTR sys_eventfd
389 PTR sys_fallocate
390 PTR sys_timerfd_create
391 PTR compat_sys_timerfd_gettime /* 6285 */
392 PTR compat_sys_timerfd_settime
393 PTR compat_sys_signalfd4
394 PTR sys_eventfd2
395 PTR sys_epoll_create1
396 PTR sys_dup3 /* 6290 */
397 PTR sys_pipe2
398 PTR sys_inotify_init1
399 PTR compat_sys_preadv
400 PTR compat_sys_pwritev
401 PTR compat_sys_rt_tgsigqueueinfo /* 6295 */
402 PTR sys_perf_event_open
403 PTR sys_accept4
404 PTR compat_sys_recvmmsg
405 PTR sys_getdents64
406 PTR sys_fanotify_init /* 6300 */
407 PTR sys_fanotify_mark
408 PTR sys_prlimit64
409 PTR sys_name_to_handle_at
410 PTR sys_open_by_handle_at
411 PTR compat_sys_clock_adjtime /* 6305 */
412 PTR sys_syncfs
413 PTR compat_sys_sendmmsg
414 PTR sys_setns
415 PTR compat_sys_process_vm_readv
416 PTR compat_sys_process_vm_writev /* 6310 */
417 PTR sys_kcmp
418 PTR sys_finit_module
419 PTR sys_sched_setattr
420 PTR sys_sched_getattr
421 PTR sys_renameat2 /* 6315 */
422 PTR sys_seccomp
423 PTR sys_getrandom
424 PTR sys_memfd_create
425 PTR sys_bpf
426 PTR compat_sys_execveat /* 6320 */
427 PTR sys_userfaultfd
428 PTR sys_membarrier
429 PTR sys_mlock2
430 PTR sys_copy_file_range
431 PTR compat_sys_preadv2 /* 6325 */
432 PTR compat_sys_pwritev2
433 PTR sys_pkey_mprotect
434 PTR sys_pkey_alloc
435 PTR sys_pkey_free
436 PTR sys_statx /* 6330 */
437 PTR sys_rseq
438 PTR compat_sys_io_pgetevents
439 .size sysn32_call_table,.-sysn32_call_table
diff --git a/arch/mips/kernel/scall64-n64.S b/arch/mips/kernel/scall64-n64.S
index 0b67fed0306a..727fb8a1b0eb 100644
--- a/arch/mips/kernel/scall64-n64.S
+++ b/arch/mips/kernel/scall64-n64.S
@@ -109,336 +109,9 @@ illegal_syscall:
109 j n64_syscall_exit 109 j n64_syscall_exit
110 END(handle_sys64) 110 END(handle_sys64)
111 111
112#define __SYSCALL(nr, entry, nargs) PTR entry
112 .align 3 113 .align 3
113 .type sys_call_table, @object 114 .type sys_call_table, @object
114EXPORT(sys_call_table) 115EXPORT(sys_call_table)
115 PTR sys_read /* 5000 */ 116#include <asm/syscall_table_64_n64.h>
116 PTR sys_write 117#undef __SYSCALL
117 PTR sys_open
118 PTR sys_close
119 PTR sys_newstat
120 PTR sys_newfstat /* 5005 */
121 PTR sys_newlstat
122 PTR sys_poll
123 PTR sys_lseek
124 PTR sys_mips_mmap
125 PTR sys_mprotect /* 5010 */
126 PTR sys_munmap
127 PTR sys_brk
128 PTR sys_rt_sigaction
129 PTR sys_rt_sigprocmask
130 PTR sys_ioctl /* 5015 */
131 PTR sys_pread64
132 PTR sys_pwrite64
133 PTR sys_readv
134 PTR sys_writev
135 PTR sys_access /* 5020 */
136 PTR sysm_pipe
137 PTR sys_select
138 PTR sys_sched_yield
139 PTR sys_mremap
140 PTR sys_msync /* 5025 */
141 PTR sys_mincore
142 PTR sys_madvise
143 PTR sys_shmget
144 PTR sys_shmat
145 PTR sys_shmctl /* 5030 */
146 PTR sys_dup
147 PTR sys_dup2
148 PTR sys_pause
149 PTR sys_nanosleep
150 PTR sys_getitimer /* 5035 */
151 PTR sys_setitimer
152 PTR sys_alarm
153 PTR sys_getpid
154 PTR sys_sendfile64
155 PTR sys_socket /* 5040 */
156 PTR sys_connect
157 PTR sys_accept
158 PTR sys_sendto
159 PTR sys_recvfrom
160 PTR sys_sendmsg /* 5045 */
161 PTR sys_recvmsg
162 PTR sys_shutdown
163 PTR sys_bind
164 PTR sys_listen
165 PTR sys_getsockname /* 5050 */
166 PTR sys_getpeername
167 PTR sys_socketpair
168 PTR sys_setsockopt
169 PTR sys_getsockopt
170 PTR __sys_clone /* 5055 */
171 PTR __sys_fork
172 PTR sys_execve
173 PTR sys_exit
174 PTR sys_wait4
175 PTR sys_kill /* 5060 */
176 PTR sys_newuname
177 PTR sys_semget
178 PTR sys_semop
179 PTR sys_semctl
180 PTR sys_shmdt /* 5065 */
181 PTR sys_msgget
182 PTR sys_msgsnd
183 PTR sys_msgrcv
184 PTR sys_msgctl
185 PTR sys_fcntl /* 5070 */
186 PTR sys_flock
187 PTR sys_fsync
188 PTR sys_fdatasync
189 PTR sys_truncate
190 PTR sys_ftruncate /* 5075 */
191 PTR sys_getdents
192 PTR sys_getcwd
193 PTR sys_chdir
194 PTR sys_fchdir
195 PTR sys_rename /* 5080 */
196 PTR sys_mkdir
197 PTR sys_rmdir
198 PTR sys_creat
199 PTR sys_link
200 PTR sys_unlink /* 5085 */
201 PTR sys_symlink
202 PTR sys_readlink
203 PTR sys_chmod
204 PTR sys_fchmod
205 PTR sys_chown /* 5090 */
206 PTR sys_fchown
207 PTR sys_lchown
208 PTR sys_umask
209 PTR sys_gettimeofday
210 PTR sys_getrlimit /* 5095 */
211 PTR sys_getrusage
212 PTR sys_sysinfo
213 PTR sys_times
214 PTR sys_ptrace
215 PTR sys_getuid /* 5100 */
216 PTR sys_syslog
217 PTR sys_getgid
218 PTR sys_setuid
219 PTR sys_setgid
220 PTR sys_geteuid /* 5105 */
221 PTR sys_getegid
222 PTR sys_setpgid
223 PTR sys_getppid
224 PTR sys_getpgrp
225 PTR sys_setsid /* 5110 */
226 PTR sys_setreuid
227 PTR sys_setregid
228 PTR sys_getgroups
229 PTR sys_setgroups
230 PTR sys_setresuid /* 5115 */
231 PTR sys_getresuid
232 PTR sys_setresgid
233 PTR sys_getresgid
234 PTR sys_getpgid
235 PTR sys_setfsuid /* 5120 */
236 PTR sys_setfsgid
237 PTR sys_getsid
238 PTR sys_capget
239 PTR sys_capset
240 PTR sys_rt_sigpending /* 5125 */
241 PTR sys_rt_sigtimedwait
242 PTR sys_rt_sigqueueinfo
243 PTR sys_rt_sigsuspend
244 PTR sys_sigaltstack
245 PTR sys_utime /* 5130 */
246 PTR sys_mknod
247 PTR sys_personality
248 PTR sys_ustat
249 PTR sys_statfs
250 PTR sys_fstatfs /* 5135 */
251 PTR sys_sysfs
252 PTR sys_getpriority
253 PTR sys_setpriority
254 PTR sys_sched_setparam
255 PTR sys_sched_getparam /* 5140 */
256 PTR sys_sched_setscheduler
257 PTR sys_sched_getscheduler
258 PTR sys_sched_get_priority_max
259 PTR sys_sched_get_priority_min
260 PTR sys_sched_rr_get_interval /* 5145 */
261 PTR sys_mlock
262 PTR sys_munlock
263 PTR sys_mlockall
264 PTR sys_munlockall
265 PTR sys_vhangup /* 5150 */
266 PTR sys_pivot_root
267 PTR sys_sysctl
268 PTR sys_prctl
269 PTR sys_adjtimex
270 PTR sys_setrlimit /* 5155 */
271 PTR sys_chroot
272 PTR sys_sync
273 PTR sys_acct
274 PTR sys_settimeofday
275 PTR sys_mount /* 5160 */
276 PTR sys_umount
277 PTR sys_swapon
278 PTR sys_swapoff
279 PTR sys_reboot
280 PTR sys_sethostname /* 5165 */
281 PTR sys_setdomainname
282 PTR sys_ni_syscall /* was create_module */
283 PTR sys_init_module
284 PTR sys_delete_module
285 PTR sys_ni_syscall /* 5170, was get_kernel_syms */
286 PTR sys_ni_syscall /* was query_module */
287 PTR sys_quotactl
288 PTR sys_ni_syscall /* was nfsservctl */
289 PTR sys_ni_syscall /* res. for getpmsg */
290 PTR sys_ni_syscall /* 5175 for putpmsg */
291 PTR sys_ni_syscall /* res. for afs_syscall */
292 PTR sys_ni_syscall /* res. for security */
293 PTR sys_gettid
294 PTR sys_readahead
295 PTR sys_setxattr /* 5180 */
296 PTR sys_lsetxattr
297 PTR sys_fsetxattr
298 PTR sys_getxattr
299 PTR sys_lgetxattr
300 PTR sys_fgetxattr /* 5185 */
301 PTR sys_listxattr
302 PTR sys_llistxattr
303 PTR sys_flistxattr
304 PTR sys_removexattr
305 PTR sys_lremovexattr /* 5190 */
306 PTR sys_fremovexattr
307 PTR sys_tkill
308 PTR sys_ni_syscall
309 PTR sys_futex
310 PTR sys_sched_setaffinity /* 5195 */
311 PTR sys_sched_getaffinity
312 PTR sys_cacheflush
313 PTR sys_cachectl
314 PTR __sys_sysmips
315 PTR sys_io_setup /* 5200 */
316 PTR sys_io_destroy
317 PTR sys_io_getevents
318 PTR sys_io_submit
319 PTR sys_io_cancel
320 PTR sys_exit_group /* 5205 */
321 PTR sys_lookup_dcookie
322 PTR sys_epoll_create
323 PTR sys_epoll_ctl
324 PTR sys_epoll_wait
325 PTR sys_remap_file_pages /* 5210 */
326 PTR sys_rt_sigreturn
327 PTR sys_set_tid_address
328 PTR sys_restart_syscall
329 PTR sys_semtimedop
330 PTR sys_fadvise64_64 /* 5215 */
331 PTR sys_timer_create
332 PTR sys_timer_settime
333 PTR sys_timer_gettime
334 PTR sys_timer_getoverrun
335 PTR sys_timer_delete /* 5220 */
336 PTR sys_clock_settime
337 PTR sys_clock_gettime
338 PTR sys_clock_getres
339 PTR sys_clock_nanosleep
340 PTR sys_tgkill /* 5225 */
341 PTR sys_utimes
342 PTR sys_mbind
343 PTR sys_get_mempolicy
344 PTR sys_set_mempolicy
345 PTR sys_mq_open /* 5230 */
346 PTR sys_mq_unlink
347 PTR sys_mq_timedsend
348 PTR sys_mq_timedreceive
349 PTR sys_mq_notify
350 PTR sys_mq_getsetattr /* 5235 */
351 PTR sys_ni_syscall /* sys_vserver */
352 PTR sys_waitid
353 PTR sys_ni_syscall /* available, was setaltroot */
354 PTR sys_add_key
355 PTR sys_request_key /* 5240 */
356 PTR sys_keyctl
357 PTR sys_set_thread_area
358 PTR sys_inotify_init
359 PTR sys_inotify_add_watch
360 PTR sys_inotify_rm_watch /* 5245 */
361 PTR sys_migrate_pages
362 PTR sys_openat
363 PTR sys_mkdirat
364 PTR sys_mknodat
365 PTR sys_fchownat /* 5250 */
366 PTR sys_futimesat
367 PTR sys_newfstatat
368 PTR sys_unlinkat
369 PTR sys_renameat
370 PTR sys_linkat /* 5255 */
371 PTR sys_symlinkat
372 PTR sys_readlinkat
373 PTR sys_fchmodat
374 PTR sys_faccessat
375 PTR sys_pselect6 /* 5260 */
376 PTR sys_ppoll
377 PTR sys_unshare
378 PTR sys_splice
379 PTR sys_sync_file_range
380 PTR sys_tee /* 5265 */
381 PTR sys_vmsplice
382 PTR sys_move_pages
383 PTR sys_set_robust_list
384 PTR sys_get_robust_list
385 PTR sys_kexec_load /* 5270 */
386 PTR sys_getcpu
387 PTR sys_epoll_pwait
388 PTR sys_ioprio_set
389 PTR sys_ioprio_get
390 PTR sys_utimensat /* 5275 */
391 PTR sys_signalfd
392 PTR sys_ni_syscall /* was timerfd */
393 PTR sys_eventfd
394 PTR sys_fallocate
395 PTR sys_timerfd_create /* 5280 */
396 PTR sys_timerfd_gettime
397 PTR sys_timerfd_settime
398 PTR sys_signalfd4
399 PTR sys_eventfd2
400 PTR sys_epoll_create1 /* 5285 */
401 PTR sys_dup3
402 PTR sys_pipe2
403 PTR sys_inotify_init1
404 PTR sys_preadv
405 PTR sys_pwritev /* 5290 */
406 PTR sys_rt_tgsigqueueinfo
407 PTR sys_perf_event_open
408 PTR sys_accept4
409 PTR sys_recvmmsg
410 PTR sys_fanotify_init /* 5295 */
411 PTR sys_fanotify_mark
412 PTR sys_prlimit64
413 PTR sys_name_to_handle_at
414 PTR sys_open_by_handle_at
415 PTR sys_clock_adjtime /* 5300 */
416 PTR sys_syncfs
417 PTR sys_sendmmsg
418 PTR sys_setns
419 PTR sys_process_vm_readv
420 PTR sys_process_vm_writev /* 5305 */
421 PTR sys_kcmp
422 PTR sys_finit_module
423 PTR sys_getdents64
424 PTR sys_sched_setattr
425 PTR sys_sched_getattr /* 5310 */
426 PTR sys_renameat2
427 PTR sys_seccomp
428 PTR sys_getrandom
429 PTR sys_memfd_create
430 PTR sys_bpf /* 5315 */
431 PTR sys_execveat
432 PTR sys_userfaultfd
433 PTR sys_membarrier
434 PTR sys_mlock2
435 PTR sys_copy_file_range /* 5320 */
436 PTR sys_preadv2
437 PTR sys_pwritev2
438 PTR sys_pkey_mprotect
439 PTR sys_pkey_alloc
440 PTR sys_pkey_free /* 5325 */
441 PTR sys_statx
442 PTR sys_rseq
443 PTR sys_io_pgetevents
444 .size sys_call_table,.-sys_call_table
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index eb53d8eac5e2..f158c5894a9a 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -213,376 +213,9 @@ einval: li v0, -ENOSYS
213 jr ra 213 jr ra
214 END(sys32_syscall) 214 END(sys32_syscall)
215 215
216#define __SYSCALL(nr, entry, nargs) PTR entry
216 .align 3 217 .align 3
217 .type sys32_call_table,@object 218 .type sys32_call_table,@object
218EXPORT(sys32_call_table) 219EXPORT(sys32_call_table)
219 PTR sys32_syscall /* 4000 */ 220#include <asm/syscall_table_64_o32.h>
220 PTR sys_exit 221#undef __SYSCALL
221 PTR __sys_fork
222 PTR sys_read
223 PTR sys_write
224 PTR compat_sys_open /* 4005 */
225 PTR sys_close
226 PTR sys_waitpid
227 PTR sys_creat
228 PTR sys_link
229 PTR sys_unlink /* 4010 */
230 PTR compat_sys_execve
231 PTR sys_chdir
232 PTR compat_sys_time
233 PTR sys_mknod
234 PTR sys_chmod /* 4015 */
235 PTR sys_lchown
236 PTR sys_ni_syscall
237 PTR sys_ni_syscall /* was sys_stat */
238 PTR sys_lseek
239 PTR sys_getpid /* 4020 */
240 PTR compat_sys_mount
241 PTR sys_oldumount
242 PTR sys_setuid
243 PTR sys_getuid
244 PTR compat_sys_stime /* 4025 */
245 PTR compat_sys_ptrace
246 PTR sys_alarm
247 PTR sys_ni_syscall /* was sys_fstat */
248 PTR sys_pause
249 PTR compat_sys_utime /* 4030 */
250 PTR sys_ni_syscall
251 PTR sys_ni_syscall
252 PTR sys_access
253 PTR sys_nice
254 PTR sys_ni_syscall /* 4035 */
255 PTR sys_sync
256 PTR sys_kill
257 PTR sys_rename
258 PTR sys_mkdir
259 PTR sys_rmdir /* 4040 */
260 PTR sys_dup
261 PTR sysm_pipe
262 PTR compat_sys_times
263 PTR sys_ni_syscall
264 PTR sys_brk /* 4045 */
265 PTR sys_setgid
266 PTR sys_getgid
267 PTR sys_ni_syscall /* was signal 2 */
268 PTR sys_geteuid
269 PTR sys_getegid /* 4050 */
270 PTR sys_acct
271 PTR sys_umount
272 PTR sys_ni_syscall
273 PTR compat_sys_ioctl
274 PTR compat_sys_fcntl /* 4055 */
275 PTR sys_ni_syscall
276 PTR sys_setpgid
277 PTR sys_ni_syscall
278 PTR sys_olduname
279 PTR sys_umask /* 4060 */
280 PTR sys_chroot
281 PTR compat_sys_ustat
282 PTR sys_dup2
283 PTR sys_getppid
284 PTR sys_getpgrp /* 4065 */
285 PTR sys_setsid
286 PTR sys_32_sigaction
287 PTR sys_sgetmask
288 PTR sys_ssetmask
289 PTR sys_setreuid /* 4070 */
290 PTR sys_setregid
291 PTR sys32_sigsuspend
292 PTR compat_sys_sigpending
293 PTR sys_sethostname
294 PTR compat_sys_setrlimit /* 4075 */
295 PTR compat_sys_getrlimit
296 PTR compat_sys_getrusage
297 PTR compat_sys_gettimeofday
298 PTR compat_sys_settimeofday
299 PTR sys_getgroups /* 4080 */
300 PTR sys_setgroups
301 PTR sys_ni_syscall /* old_select */
302 PTR sys_symlink
303 PTR sys_ni_syscall /* was sys_lstat */
304 PTR sys_readlink /* 4085 */
305 PTR sys_uselib
306 PTR sys_swapon
307 PTR sys_reboot
308 PTR compat_sys_old_readdir
309 PTR sys_mips_mmap /* 4090 */
310 PTR sys_munmap
311 PTR compat_sys_truncate
312 PTR compat_sys_ftruncate
313 PTR sys_fchmod
314 PTR sys_fchown /* 4095 */
315 PTR sys_getpriority
316 PTR sys_setpriority
317 PTR sys_ni_syscall
318 PTR compat_sys_statfs
319 PTR compat_sys_fstatfs /* 4100 */
320 PTR sys_ni_syscall /* sys_ioperm */
321 PTR compat_sys_socketcall
322 PTR sys_syslog
323 PTR compat_sys_setitimer
324 PTR compat_sys_getitimer /* 4105 */
325 PTR compat_sys_newstat
326 PTR compat_sys_newlstat
327 PTR compat_sys_newfstat
328 PTR sys_uname
329 PTR sys_ni_syscall /* sys_ioperm *//* 4110 */
330 PTR sys_vhangup
331 PTR sys_ni_syscall /* was sys_idle */
332 PTR sys_ni_syscall /* sys_vm86 */
333 PTR compat_sys_wait4
334 PTR sys_swapoff /* 4115 */
335 PTR compat_sys_sysinfo
336 PTR compat_sys_ipc
337 PTR sys_fsync
338 PTR sys32_sigreturn
339 PTR __sys_clone /* 4120 */
340 PTR sys_setdomainname
341 PTR sys_newuname
342 PTR sys_ni_syscall /* sys_modify_ldt */
343 PTR compat_sys_adjtimex
344 PTR sys_mprotect /* 4125 */
345 PTR compat_sys_sigprocmask
346 PTR sys_ni_syscall /* was creat_module */
347 PTR sys_init_module
348 PTR sys_delete_module
349 PTR sys_ni_syscall /* 4130, get_kernel_syms */
350 PTR sys_quotactl
351 PTR sys_getpgid
352 PTR sys_fchdir
353 PTR sys_bdflush
354 PTR sys_sysfs /* 4135 */
355 PTR sys_32_personality
356 PTR sys_ni_syscall /* for afs_syscall */
357 PTR sys_setfsuid
358 PTR sys_setfsgid
359 PTR sys_32_llseek /* 4140 */
360 PTR compat_sys_getdents
361 PTR compat_sys_select
362 PTR sys_flock
363 PTR sys_msync
364 PTR compat_sys_readv /* 4145 */
365 PTR compat_sys_writev
366 PTR sys_cacheflush
367 PTR sys_cachectl
368 PTR __sys_sysmips
369 PTR sys_ni_syscall /* 4150 */
370 PTR sys_getsid
371 PTR sys_fdatasync
372 PTR compat_sys_sysctl
373 PTR sys_mlock
374 PTR sys_munlock /* 4155 */
375 PTR sys_mlockall
376 PTR sys_munlockall
377 PTR sys_sched_setparam
378 PTR sys_sched_getparam
379 PTR sys_sched_setscheduler /* 4160 */
380 PTR sys_sched_getscheduler
381 PTR sys_sched_yield
382 PTR sys_sched_get_priority_max
383 PTR sys_sched_get_priority_min
384 PTR compat_sys_sched_rr_get_interval /* 4165 */
385 PTR compat_sys_nanosleep
386 PTR sys_mremap
387 PTR sys_accept
388 PTR sys_bind
389 PTR sys_connect /* 4170 */
390 PTR sys_getpeername
391 PTR sys_getsockname
392 PTR compat_sys_getsockopt
393 PTR sys_listen
394 PTR compat_sys_recv /* 4175 */
395 PTR compat_sys_recvfrom
396 PTR compat_sys_recvmsg
397 PTR sys_send
398 PTR compat_sys_sendmsg
399 PTR sys_sendto /* 4180 */
400 PTR compat_sys_setsockopt
401 PTR sys_shutdown
402 PTR sys_socket
403 PTR sys_socketpair
404 PTR sys_setresuid /* 4185 */
405 PTR sys_getresuid
406 PTR sys_ni_syscall /* was query_module */
407 PTR sys_poll
408 PTR sys_ni_syscall /* was nfsservctl */
409 PTR sys_setresgid /* 4190 */
410 PTR sys_getresgid
411 PTR sys_prctl
412 PTR sys32_rt_sigreturn
413 PTR compat_sys_rt_sigaction
414 PTR compat_sys_rt_sigprocmask /* 4195 */
415 PTR compat_sys_rt_sigpending
416 PTR compat_sys_rt_sigtimedwait
417 PTR compat_sys_rt_sigqueueinfo
418 PTR compat_sys_rt_sigsuspend
419 PTR sys_32_pread /* 4200 */
420 PTR sys_32_pwrite
421 PTR sys_chown
422 PTR sys_getcwd
423 PTR sys_capget
424 PTR sys_capset /* 4205 */
425 PTR compat_sys_sigaltstack
426 PTR compat_sys_sendfile
427 PTR sys_ni_syscall
428 PTR sys_ni_syscall
429 PTR sys_mips_mmap2 /* 4210 */
430 PTR sys_32_truncate64
431 PTR sys_32_ftruncate64
432 PTR sys_newstat
433 PTR sys_newlstat
434 PTR sys_newfstat /* 4215 */
435 PTR sys_pivot_root
436 PTR sys_mincore
437 PTR sys_madvise
438 PTR sys_getdents64
439 PTR compat_sys_fcntl64 /* 4220 */
440 PTR sys_ni_syscall
441 PTR sys_gettid
442 PTR sys32_readahead
443 PTR sys_setxattr
444 PTR sys_lsetxattr /* 4225 */
445 PTR sys_fsetxattr
446 PTR sys_getxattr
447 PTR sys_lgetxattr
448 PTR sys_fgetxattr
449 PTR sys_listxattr /* 4230 */
450 PTR sys_llistxattr
451 PTR sys_flistxattr
452 PTR sys_removexattr
453 PTR sys_lremovexattr
454 PTR sys_fremovexattr /* 4235 */
455 PTR sys_tkill
456 PTR sys_sendfile64
457 PTR compat_sys_futex
458 PTR compat_sys_sched_setaffinity
459 PTR compat_sys_sched_getaffinity /* 4240 */
460 PTR compat_sys_io_setup
461 PTR sys_io_destroy
462 PTR compat_sys_io_getevents
463 PTR compat_sys_io_submit
464 PTR sys_io_cancel /* 4245 */
465 PTR sys_exit_group
466 PTR compat_sys_lookup_dcookie
467 PTR sys_epoll_create
468 PTR sys_epoll_ctl
469 PTR sys_epoll_wait /* 4250 */
470 PTR sys_remap_file_pages
471 PTR sys_set_tid_address
472 PTR sys_restart_syscall
473 PTR sys32_fadvise64_64
474 PTR compat_sys_statfs64 /* 4255 */
475 PTR compat_sys_fstatfs64
476 PTR compat_sys_timer_create
477 PTR compat_sys_timer_settime
478 PTR compat_sys_timer_gettime
479 PTR sys_timer_getoverrun /* 4260 */
480 PTR sys_timer_delete
481 PTR compat_sys_clock_settime
482 PTR compat_sys_clock_gettime
483 PTR compat_sys_clock_getres
484 PTR compat_sys_clock_nanosleep /* 4265 */
485 PTR sys_tgkill
486 PTR compat_sys_utimes
487 PTR compat_sys_mbind
488 PTR compat_sys_get_mempolicy
489 PTR compat_sys_set_mempolicy /* 4270 */
490 PTR compat_sys_mq_open
491 PTR sys_mq_unlink
492 PTR compat_sys_mq_timedsend
493 PTR compat_sys_mq_timedreceive
494 PTR compat_sys_mq_notify /* 4275 */
495 PTR compat_sys_mq_getsetattr
496 PTR sys_ni_syscall /* sys_vserver */
497 PTR compat_sys_waitid
498 PTR sys_ni_syscall /* available, was setaltroot */
499 PTR sys_add_key /* 4280 */
500 PTR sys_request_key
501 PTR compat_sys_keyctl
502 PTR sys_set_thread_area
503 PTR sys_inotify_init
504 PTR sys_inotify_add_watch /* 4285 */
505 PTR sys_inotify_rm_watch
506 PTR compat_sys_migrate_pages
507 PTR compat_sys_openat
508 PTR sys_mkdirat
509 PTR sys_mknodat /* 4290 */
510 PTR sys_fchownat
511 PTR compat_sys_futimesat
512 PTR sys_newfstatat
513 PTR sys_unlinkat
514 PTR sys_renameat /* 4295 */
515 PTR sys_linkat
516 PTR sys_symlinkat
517 PTR sys_readlinkat
518 PTR sys_fchmodat
519 PTR sys_faccessat /* 4300 */
520 PTR compat_sys_pselect6
521 PTR compat_sys_ppoll
522 PTR sys_unshare
523 PTR sys_splice
524 PTR sys32_sync_file_range /* 4305 */
525 PTR sys_tee
526 PTR compat_sys_vmsplice
527 PTR compat_sys_move_pages
528 PTR compat_sys_set_robust_list
529 PTR compat_sys_get_robust_list /* 4310 */
530 PTR compat_sys_kexec_load
531 PTR sys_getcpu
532 PTR compat_sys_epoll_pwait
533 PTR sys_ioprio_set
534 PTR sys_ioprio_get /* 4315 */
535 PTR compat_sys_utimensat
536 PTR compat_sys_signalfd
537 PTR sys_ni_syscall /* was timerfd */
538 PTR sys_eventfd
539 PTR sys32_fallocate /* 4320 */
540 PTR sys_timerfd_create
541 PTR compat_sys_timerfd_gettime
542 PTR compat_sys_timerfd_settime
543 PTR compat_sys_signalfd4
544 PTR sys_eventfd2 /* 4325 */
545 PTR sys_epoll_create1
546 PTR sys_dup3
547 PTR sys_pipe2
548 PTR sys_inotify_init1
549 PTR compat_sys_preadv /* 4330 */
550 PTR compat_sys_pwritev
551 PTR compat_sys_rt_tgsigqueueinfo
552 PTR sys_perf_event_open
553 PTR sys_accept4
554 PTR compat_sys_recvmmsg /* 4335 */
555 PTR sys_fanotify_init
556 PTR compat_sys_fanotify_mark
557 PTR sys_prlimit64
558 PTR sys_name_to_handle_at
559 PTR compat_sys_open_by_handle_at /* 4340 */
560 PTR compat_sys_clock_adjtime
561 PTR sys_syncfs
562 PTR compat_sys_sendmmsg
563 PTR sys_setns
564 PTR compat_sys_process_vm_readv /* 4345 */
565 PTR compat_sys_process_vm_writev
566 PTR sys_kcmp
567 PTR sys_finit_module
568 PTR sys_sched_setattr
569 PTR sys_sched_getattr /* 4350 */
570 PTR sys_renameat2
571 PTR sys_seccomp
572 PTR sys_getrandom
573 PTR sys_memfd_create
574 PTR sys_bpf /* 4355 */
575 PTR compat_sys_execveat
576 PTR sys_userfaultfd
577 PTR sys_membarrier
578 PTR sys_mlock2
579 PTR sys_copy_file_range /* 4360 */
580 PTR compat_sys_preadv2
581 PTR compat_sys_pwritev2
582 PTR sys_pkey_mprotect
583 PTR sys_pkey_alloc
584 PTR sys_pkey_free /* 4365 */
585 PTR sys_statx
586 PTR sys_rseq
587 PTR compat_sys_io_pgetevents
588 .size sys32_call_table,.-sys32_call_table