Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / powerpc / include / asm / systbl.h
blobd61f9c96d91634c2a1cda3412fe6802671a22d2c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * List of powerpc syscalls. For the meaning of the _SPU suffix see
4 * arch/powerpc/platforms/cell/spu_callbacks.c
5 */
7 SYSCALL(restart_syscall)
8 SYSCALL(exit)
9 PPC_SYS(fork)
10 SYSCALL_SPU(read)
11 SYSCALL_SPU(write)
12 COMPAT_SYS_SPU(open)
13 SYSCALL_SPU(close)
14 SYSCALL_SPU(waitpid)
15 SYSCALL_SPU(creat)
16 SYSCALL_SPU(link)
17 SYSCALL_SPU(unlink)
18 COMPAT_SYS(execve)
19 SYSCALL_SPU(chdir)
20 COMPAT_SYS_SPU(time)
21 SYSCALL_SPU(mknod)
22 SYSCALL_SPU(chmod)
23 SYSCALL_SPU(lchown)
24 SYSCALL(ni_syscall)
25 OLDSYS(stat)
26 COMPAT_SYS_SPU(lseek)
27 SYSCALL_SPU(getpid)
28 COMPAT_SYS(mount)
29 SYSX(sys_ni_syscall,sys_oldumount,sys_oldumount)
30 SYSCALL_SPU(setuid)
31 SYSCALL_SPU(getuid)
32 COMPAT_SYS_SPU(stime)
33 COMPAT_SYS(ptrace)
34 SYSCALL_SPU(alarm)
35 OLDSYS(fstat)
36 SYSCALL(pause)
37 COMPAT_SYS(utime)
38 SYSCALL(ni_syscall)
39 SYSCALL(ni_syscall)
40 SYSCALL_SPU(access)
41 SYSCALL_SPU(nice)
42 SYSCALL(ni_syscall)
43 SYSCALL_SPU(sync)
44 SYSCALL_SPU(kill)
45 SYSCALL_SPU(rename)
46 SYSCALL_SPU(mkdir)
47 SYSCALL_SPU(rmdir)
48 SYSCALL_SPU(dup)
49 SYSCALL_SPU(pipe)
50 COMPAT_SYS_SPU(times)
51 SYSCALL(ni_syscall)
52 SYSCALL_SPU(brk)
53 SYSCALL_SPU(setgid)
54 SYSCALL_SPU(getgid)
55 SYSCALL(signal)
56 SYSCALL_SPU(geteuid)
57 SYSCALL_SPU(getegid)
58 SYSCALL(acct)
59 SYSCALL(umount)
60 SYSCALL(ni_syscall)
61 COMPAT_SYS_SPU(ioctl)
62 COMPAT_SYS_SPU(fcntl)
63 SYSCALL(ni_syscall)
64 SYSCALL_SPU(setpgid)
65 SYSCALL(ni_syscall)
66 SYSX(sys_ni_syscall,sys_olduname,sys_olduname)
67 SYSCALL_SPU(umask)
68 SYSCALL_SPU(chroot)
69 COMPAT_SYS(ustat)
70 SYSCALL_SPU(dup2)
71 SYSCALL_SPU(getppid)
72 SYSCALL_SPU(getpgrp)
73 SYSCALL_SPU(setsid)
74 SYS32ONLY(sigaction)
75 SYSCALL_SPU(sgetmask)
76 SYSCALL_SPU(ssetmask)
77 SYSCALL_SPU(setreuid)
78 SYSCALL_SPU(setregid)
79 #define compat_sys_sigsuspend sys_sigsuspend
80 SYS32ONLY(sigsuspend)
81 SYSX(sys_ni_syscall,compat_sys_sigpending,sys_sigpending)
82 SYSCALL_SPU(sethostname)
83 COMPAT_SYS_SPU(setrlimit)
84 SYSX(sys_ni_syscall,compat_sys_old_getrlimit,sys_old_getrlimit)
85 COMPAT_SYS_SPU(getrusage)
86 COMPAT_SYS_SPU(gettimeofday)
87 COMPAT_SYS_SPU(settimeofday)
88 SYSCALL_SPU(getgroups)
89 SYSCALL_SPU(setgroups)
90 SYSX(sys_ni_syscall,sys_ni_syscall,ppc_select)
91 SYSCALL_SPU(symlink)
92 OLDSYS(lstat)
93 SYSCALL_SPU(readlink)
94 SYSCALL(uselib)
95 SYSCALL(swapon)
96 SYSCALL(reboot)
97 SYSX(sys_ni_syscall,compat_sys_old_readdir,sys_old_readdir)
98 SYSCALL_SPU(mmap)
99 SYSCALL_SPU(munmap)
100 COMPAT_SYS_SPU(truncate)
101 COMPAT_SYS_SPU(ftruncate)
102 SYSCALL_SPU(fchmod)
103 SYSCALL_SPU(fchown)
104 SYSCALL_SPU(getpriority)
105 SYSCALL_SPU(setpriority)
106 SYSCALL(ni_syscall)
107 COMPAT_SYS(statfs)
108 COMPAT_SYS(fstatfs)
109 SYSCALL(ni_syscall)
110 COMPAT_SYS_SPU(socketcall)
111 SYSCALL_SPU(syslog)
112 COMPAT_SYS_SPU(setitimer)
113 COMPAT_SYS_SPU(getitimer)
114 COMPAT_SYS_SPU(newstat)
115 COMPAT_SYS_SPU(newlstat)
116 COMPAT_SYS_SPU(newfstat)
117 SYSX(sys_ni_syscall,sys_uname,sys_uname)
118 SYSCALL(ni_syscall)
119 SYSCALL_SPU(vhangup)
120 SYSCALL(ni_syscall)
121 SYSCALL(ni_syscall)
122 COMPAT_SYS_SPU(wait4)
123 SYSCALL(swapoff)
124 COMPAT_SYS_SPU(sysinfo)
125 COMPAT_SYS(ipc)
126 SYSCALL_SPU(fsync)
127 SYS32ONLY(sigreturn)
128 PPC_SYS(clone)
129 SYSCALL_SPU(setdomainname)
130 SYSCALL_SPU(newuname)
131 SYSCALL(ni_syscall)
132 COMPAT_SYS_SPU(adjtimex)
133 SYSCALL_SPU(mprotect)
134 SYSX(sys_ni_syscall,compat_sys_sigprocmask,sys_sigprocmask)
135 SYSCALL(ni_syscall)
136 SYSCALL(init_module)
137 SYSCALL(delete_module)
138 SYSCALL(ni_syscall)
139 SYSCALL(quotactl)
140 SYSCALL_SPU(getpgid)
141 SYSCALL_SPU(fchdir)
142 SYSCALL_SPU(bdflush)
143 SYSCALL_SPU(sysfs)
144 SYSX_SPU(ppc64_personality,ppc64_personality,sys_personality)
145 SYSCALL(ni_syscall)
146 SYSCALL_SPU(setfsuid)
147 SYSCALL_SPU(setfsgid)
148 SYSCALL_SPU(llseek)
149 COMPAT_SYS_SPU(getdents)
150 SYSX_SPU(sys_select,ppc32_select,sys_select)
151 SYSCALL_SPU(flock)
152 SYSCALL_SPU(msync)
153 COMPAT_SYS_SPU(readv)
154 COMPAT_SYS_SPU(writev)
155 SYSCALL_SPU(getsid)
156 SYSCALL_SPU(fdatasync)
157 COMPAT_SYS(sysctl)
158 SYSCALL_SPU(mlock)
159 SYSCALL_SPU(munlock)
160 SYSCALL_SPU(mlockall)
161 SYSCALL_SPU(munlockall)
162 SYSCALL_SPU(sched_setparam)
163 SYSCALL_SPU(sched_getparam)
164 SYSCALL_SPU(sched_setscheduler)
165 SYSCALL_SPU(sched_getscheduler)
166 SYSCALL_SPU(sched_yield)
167 SYSCALL_SPU(sched_get_priority_max)
168 SYSCALL_SPU(sched_get_priority_min)
169 COMPAT_SYS_SPU(sched_rr_get_interval)
170 COMPAT_SYS_SPU(nanosleep)
171 SYSCALL_SPU(mremap)
172 SYSCALL_SPU(setresuid)
173 SYSCALL_SPU(getresuid)
174 SYSCALL(ni_syscall)
175 SYSCALL_SPU(poll)
176 SYSCALL(ni_syscall)
177 SYSCALL_SPU(setresgid)
178 SYSCALL_SPU(getresgid)
179 SYSCALL_SPU(prctl)
180 COMPAT_SYS(rt_sigreturn)
181 COMPAT_SYS(rt_sigaction)
182 COMPAT_SYS(rt_sigprocmask)
183 COMPAT_SYS(rt_sigpending)
184 COMPAT_SYS(rt_sigtimedwait)
185 COMPAT_SYS(rt_sigqueueinfo)
186 COMPAT_SYS(rt_sigsuspend)
187 COMPAT_SYS_SPU(pread64)
188 COMPAT_SYS_SPU(pwrite64)
189 SYSCALL_SPU(chown)
190 SYSCALL_SPU(getcwd)
191 SYSCALL_SPU(capget)
192 SYSCALL_SPU(capset)
193 COMPAT_SYS(sigaltstack)
194 SYSX_SPU(sys_sendfile64,compat_sys_sendfile,sys_sendfile)
195 SYSCALL(ni_syscall)
196 SYSCALL(ni_syscall)
197 PPC_SYS(vfork)
198 COMPAT_SYS_SPU(getrlimit)
199 COMPAT_SYS_SPU(readahead)
200 SYS32ONLY(mmap2)
201 SYS32ONLY(truncate64)
202 SYS32ONLY(ftruncate64)
203 SYSX(sys_ni_syscall,sys_stat64,sys_stat64)
204 SYSX(sys_ni_syscall,sys_lstat64,sys_lstat64)
205 SYSX(sys_ni_syscall,sys_fstat64,sys_fstat64)
206 SYSCALL(pciconfig_read)
207 SYSCALL(pciconfig_write)
208 SYSCALL(pciconfig_iobase)
209 SYSCALL(ni_syscall)
210 SYSCALL_SPU(getdents64)
211 SYSCALL_SPU(pivot_root)
212 SYSX(sys_ni_syscall,compat_sys_fcntl64,sys_fcntl64)
213 SYSCALL_SPU(madvise)
214 SYSCALL_SPU(mincore)
215 SYSCALL_SPU(gettid)
216 SYSCALL_SPU(tkill)
217 SYSCALL_SPU(setxattr)
218 SYSCALL_SPU(lsetxattr)
219 SYSCALL_SPU(fsetxattr)
220 SYSCALL_SPU(getxattr)
221 SYSCALL_SPU(lgetxattr)
222 SYSCALL_SPU(fgetxattr)
223 SYSCALL_SPU(listxattr)
224 SYSCALL_SPU(llistxattr)
225 SYSCALL_SPU(flistxattr)
226 SYSCALL_SPU(removexattr)
227 SYSCALL_SPU(lremovexattr)
228 SYSCALL_SPU(fremovexattr)
229 COMPAT_SYS_SPU(futex)
230 COMPAT_SYS_SPU(sched_setaffinity)
231 COMPAT_SYS_SPU(sched_getaffinity)
232 SYSCALL(ni_syscall)
233 SYSCALL(ni_syscall)
234 SYS32ONLY(sendfile64)
235 COMPAT_SYS_SPU(io_setup)
236 SYSCALL_SPU(io_destroy)
237 COMPAT_SYS_SPU(io_getevents)
238 COMPAT_SYS_SPU(io_submit)
239 SYSCALL_SPU(io_cancel)
240 SYSCALL(set_tid_address)
241 SYSX_SPU(sys_fadvise64,ppc32_fadvise64,sys_fadvise64)
242 SYSCALL(exit_group)
243 COMPAT_SYS(lookup_dcookie)
244 SYSCALL_SPU(epoll_create)
245 SYSCALL_SPU(epoll_ctl)
246 SYSCALL_SPU(epoll_wait)
247 SYSCALL_SPU(remap_file_pages)
248 SYSX_SPU(sys_timer_create,compat_sys_timer_create,sys_timer_create)
249 COMPAT_SYS_SPU(timer_settime)
250 COMPAT_SYS_SPU(timer_gettime)
251 SYSCALL_SPU(timer_getoverrun)
252 SYSCALL_SPU(timer_delete)
253 COMPAT_SYS_SPU(clock_settime)
254 COMPAT_SYS_SPU(clock_gettime)
255 COMPAT_SYS_SPU(clock_getres)
256 COMPAT_SYS_SPU(clock_nanosleep)
257 SYSX(ppc64_swapcontext,ppc32_swapcontext,ppc_swapcontext)
258 SYSCALL_SPU(tgkill)
259 COMPAT_SYS_SPU(utimes)
260 COMPAT_SYS_SPU(statfs64)
261 COMPAT_SYS_SPU(fstatfs64)
262 SYSX(sys_ni_syscall,ppc_fadvise64_64,ppc_fadvise64_64)
263 PPC_SYS_SPU(rtas)
264 OLDSYS(debug_setcontext)
265 SYSCALL(ni_syscall)
266 COMPAT_SYS(migrate_pages)
267 COMPAT_SYS(mbind)
268 COMPAT_SYS(get_mempolicy)
269 COMPAT_SYS(set_mempolicy)
270 COMPAT_SYS(mq_open)
271 SYSCALL(mq_unlink)
272 COMPAT_SYS(mq_timedsend)
273 COMPAT_SYS(mq_timedreceive)
274 COMPAT_SYS(mq_notify)
275 COMPAT_SYS(mq_getsetattr)
276 COMPAT_SYS(kexec_load)
277 SYSCALL(add_key)
278 SYSCALL(request_key)
279 COMPAT_SYS(keyctl)
280 COMPAT_SYS(waitid)
281 SYSCALL(ioprio_set)
282 SYSCALL(ioprio_get)
283 SYSCALL(inotify_init)
284 SYSCALL(inotify_add_watch)
285 SYSCALL(inotify_rm_watch)
286 SYSCALL(spu_run)
287 SYSCALL(spu_create)
288 COMPAT_SYS(pselect6)
289 COMPAT_SYS(ppoll)
290 SYSCALL_SPU(unshare)
291 SYSCALL_SPU(splice)
292 SYSCALL_SPU(tee)
293 COMPAT_SYS_SPU(vmsplice)
294 COMPAT_SYS_SPU(openat)
295 SYSCALL_SPU(mkdirat)
296 SYSCALL_SPU(mknodat)
297 SYSCALL_SPU(fchownat)
298 COMPAT_SYS_SPU(futimesat)
299 SYSX_SPU(sys_newfstatat,sys_fstatat64,sys_fstatat64)
300 SYSCALL_SPU(unlinkat)
301 SYSCALL_SPU(renameat)
302 SYSCALL_SPU(linkat)
303 SYSCALL_SPU(symlinkat)
304 SYSCALL_SPU(readlinkat)
305 SYSCALL_SPU(fchmodat)
306 SYSCALL_SPU(faccessat)
307 COMPAT_SYS_SPU(get_robust_list)
308 COMPAT_SYS_SPU(set_robust_list)
309 COMPAT_SYS_SPU(move_pages)
310 SYSCALL_SPU(getcpu)
311 COMPAT_SYS(epoll_pwait)
312 COMPAT_SYS_SPU(utimensat)
313 COMPAT_SYS_SPU(signalfd)
314 SYSCALL_SPU(timerfd_create)
315 SYSCALL_SPU(eventfd)
316 COMPAT_SYS_SPU(sync_file_range2)
317 COMPAT_SYS(fallocate)
318 SYSCALL(subpage_prot)
319 COMPAT_SYS_SPU(timerfd_settime)
320 COMPAT_SYS_SPU(timerfd_gettime)
321 COMPAT_SYS_SPU(signalfd4)
322 SYSCALL_SPU(eventfd2)
323 SYSCALL_SPU(epoll_create1)
324 SYSCALL_SPU(dup3)
325 SYSCALL_SPU(pipe2)
326 SYSCALL(inotify_init1)
327 SYSCALL_SPU(perf_event_open)
328 COMPAT_SYS_SPU(preadv)
329 COMPAT_SYS_SPU(pwritev)
330 COMPAT_SYS(rt_tgsigqueueinfo)
331 SYSCALL(fanotify_init)
332 COMPAT_SYS(fanotify_mark)
333 SYSCALL_SPU(prlimit64)
334 SYSCALL_SPU(socket)
335 SYSCALL_SPU(bind)
336 SYSCALL_SPU(connect)
337 SYSCALL_SPU(listen)
338 SYSCALL_SPU(accept)
339 SYSCALL_SPU(getsockname)
340 SYSCALL_SPU(getpeername)
341 SYSCALL_SPU(socketpair)
342 SYSCALL_SPU(send)
343 SYSCALL_SPU(sendto)
344 COMPAT_SYS_SPU(recv)
345 COMPAT_SYS_SPU(recvfrom)
346 SYSCALL_SPU(shutdown)
347 COMPAT_SYS_SPU(setsockopt)
348 COMPAT_SYS_SPU(getsockopt)
349 COMPAT_SYS_SPU(sendmsg)
350 COMPAT_SYS_SPU(recvmsg)
351 COMPAT_SYS_SPU(recvmmsg)
352 SYSCALL_SPU(accept4)
353 SYSCALL_SPU(name_to_handle_at)
354 COMPAT_SYS_SPU(open_by_handle_at)
355 COMPAT_SYS_SPU(clock_adjtime)
356 SYSCALL_SPU(syncfs)
357 COMPAT_SYS_SPU(sendmmsg)
358 SYSCALL_SPU(setns)
359 COMPAT_SYS(process_vm_readv)
360 COMPAT_SYS(process_vm_writev)
361 SYSCALL(finit_module)
362 SYSCALL(kcmp) /* sys_kcmp */
363 SYSCALL_SPU(sched_setattr)
364 SYSCALL_SPU(sched_getattr)
365 SYSCALL_SPU(renameat2)
366 SYSCALL_SPU(seccomp)
367 SYSCALL_SPU(getrandom)
368 SYSCALL_SPU(memfd_create)
369 SYSCALL_SPU(bpf)
370 COMPAT_SYS(execveat)
371 PPC64ONLY(switch_endian)
372 SYSCALL_SPU(userfaultfd)
373 SYSCALL_SPU(membarrier)
374 SYSCALL(ni_syscall)
375 SYSCALL(ni_syscall)
376 SYSCALL(ni_syscall)
377 SYSCALL(ni_syscall)
378 SYSCALL(ni_syscall)
379 SYSCALL(ni_syscall)
380 SYSCALL(ni_syscall)
381 SYSCALL(ni_syscall)
382 SYSCALL(ni_syscall)
383 SYSCALL(ni_syscall)
384 SYSCALL(ni_syscall)
385 SYSCALL(ni_syscall)
386 SYSCALL(mlock2)
387 SYSCALL(copy_file_range)
388 COMPAT_SYS_SPU(preadv2)
389 COMPAT_SYS_SPU(pwritev2)
390 SYSCALL(kexec_file_load)
391 SYSCALL(statx)
392 SYSCALL(pkey_alloc)
393 SYSCALL(pkey_free)
394 SYSCALL(pkey_mprotect)