2 * List of powerpc syscalls. For the meaning of the _SPU suffix see
3 * arch/powerpc/platforms/cell/spu_callbacks.c
6 SYSCALL(restart_syscall)
13 COMPAT_SYS_SPU(waitpid)
25 SYSX_SPU(sys_lseek,ppc32_lseek,sys_lseek)
28 SYSX(sys_ni_syscall,sys_oldumount,sys_oldumount)
39 COMPAT_SYS_SPU(access)
63 COMPAT_SYS_SPU(setpgid)
65 SYSX(sys_ni_syscall,sys_olduname, sys_olduname)
75 COMPAT_SYS_SPU(ssetmask)
79 COMPAT_SYS(sigpending)
80 COMPAT_SYS_SPU(sethostname)
81 COMPAT_SYS_SPU(setrlimit)
82 COMPAT_SYS(old_getrlimit)
83 COMPAT_SYS_SPU(getrusage)
84 COMPAT_SYS_SPU(gettimeofday)
85 COMPAT_SYS_SPU(settimeofday)
86 COMPAT_SYS_SPU(getgroups)
87 COMPAT_SYS_SPU(setgroups)
88 SYSX(sys_ni_syscall,sys_ni_syscall,ppc_select)
91 COMPAT_SYS_SPU(readlink)
95 SYSX(sys_ni_syscall,old32_readdir,old_readdir)
99 SYSCALL_SPU(ftruncate)
102 COMPAT_SYS_SPU(getpriority)
103 COMPAT_SYS_SPU(setpriority)
108 COMPAT_SYS_SPU(socketcall)
109 COMPAT_SYS_SPU(syslog)
110 COMPAT_SYS_SPU(setitimer)
111 COMPAT_SYS_SPU(getitimer)
112 COMPAT_SYS_SPU(newstat)
113 COMPAT_SYS_SPU(newlstat)
114 COMPAT_SYS_SPU(newfstat)
115 SYSX(sys_ni_syscall,sys_uname,sys_uname)
120 COMPAT_SYS_SPU(wait4)
122 COMPAT_SYS_SPU(sysinfo)
127 COMPAT_SYS_SPU(setdomainname)
128 PPC_SYS_SPU(newuname)
130 COMPAT_SYS_SPU(adjtimex)
131 SYSCALL_SPU(mprotect)
132 SYSX(sys_ni_syscall,compat_sys_sigprocmask,sys_sigprocmask)
135 SYSCALL(delete_module)
138 COMPAT_SYS_SPU(getpgid)
142 SYSX_SPU(ppc64_personality,ppc64_personality,sys_personality)
144 SYSCALL_SPU(setfsuid)
145 SYSCALL_SPU(setfsgid)
147 COMPAT_SYS_SPU(getdents)
148 SYSX_SPU(sys_select,ppc32_select,ppc_select)
151 COMPAT_SYS_SPU(readv)
152 COMPAT_SYS_SPU(writev)
153 COMPAT_SYS_SPU(getsid)
154 SYSCALL_SPU(fdatasync)
158 SYSCALL_SPU(mlockall)
159 SYSCALL_SPU(munlockall)
160 COMPAT_SYS_SPU(sched_setparam)
161 COMPAT_SYS_SPU(sched_getparam)
162 COMPAT_SYS_SPU(sched_setscheduler)
163 COMPAT_SYS_SPU(sched_getscheduler)
164 SYSCALL_SPU(sched_yield)
165 COMPAT_SYS_SPU(sched_get_priority_max)
166 COMPAT_SYS_SPU(sched_get_priority_min)
167 COMPAT_SYS_SPU(sched_rr_get_interval)
168 COMPAT_SYS_SPU(nanosleep)
170 SYSCALL_SPU(setresuid)
171 SYSCALL_SPU(getresuid)
174 COMPAT_SYS(nfsservctl)
175 SYSCALL_SPU(setresgid)
176 SYSCALL_SPU(getresgid)
177 COMPAT_SYS_SPU(prctl)
178 COMPAT_SYS(rt_sigreturn)
179 COMPAT_SYS(rt_sigaction)
180 COMPAT_SYS(rt_sigprocmask)
181 COMPAT_SYS(rt_sigpending)
182 COMPAT_SYS(rt_sigtimedwait)
183 COMPAT_SYS(rt_sigqueueinfo)
184 COMPAT_SYS(rt_sigsuspend)
185 COMPAT_SYS_SPU(pread64)
186 COMPAT_SYS_SPU(pwrite64)
191 COMPAT_SYS(sigaltstack)
192 SYSX_SPU(sys_sendfile64,compat_sys_sendfile,sys_sendfile)
196 COMPAT_SYS_SPU(getrlimit)
197 COMPAT_SYS_SPU(readahead)
199 SYS32ONLY(truncate64)
200 SYS32ONLY(ftruncate64)
201 SYSX(sys_ni_syscall,sys_stat64,sys_stat64)
202 SYSX(sys_ni_syscall,sys_lstat64,sys_lstat64)
203 SYSX(sys_ni_syscall,sys_fstat64,sys_fstat64)
204 SYSCALL(pciconfig_read)
205 SYSCALL(pciconfig_write)
206 SYSCALL(pciconfig_iobase)
208 SYSCALL_SPU(getdents64)
209 SYSCALL_SPU(pivot_root)
210 SYSX(sys_ni_syscall,compat_sys_fcntl64,sys_fcntl64)
215 SYSCALL_SPU(setxattr)
216 SYSCALL_SPU(lsetxattr)
217 SYSCALL_SPU(fsetxattr)
218 SYSCALL_SPU(getxattr)
219 SYSCALL_SPU(lgetxattr)
220 SYSCALL_SPU(fgetxattr)
221 SYSCALL_SPU(listxattr)
222 SYSCALL_SPU(llistxattr)
223 SYSCALL_SPU(flistxattr)
224 SYSCALL_SPU(removexattr)
225 SYSCALL_SPU(lremovexattr)
226 SYSCALL_SPU(fremovexattr)
227 COMPAT_SYS_SPU(futex)
228 COMPAT_SYS_SPU(sched_setaffinity)
229 COMPAT_SYS_SPU(sched_getaffinity)
232 SYS32ONLY(sendfile64)
233 COMPAT_SYS_SPU(io_setup)
234 SYSCALL_SPU(io_destroy)
235 COMPAT_SYS_SPU(io_getevents)
236 COMPAT_SYS_SPU(io_submit)
237 SYSCALL_SPU(io_cancel)
238 SYSCALL(set_tid_address)
239 SYSX_SPU(sys_fadvise64,ppc32_fadvise64,sys_fadvise64)
241 SYSX(sys_lookup_dcookie,ppc32_lookup_dcookie,sys_lookup_dcookie)
242 SYSCALL_SPU(epoll_create)
243 SYSCALL_SPU(epoll_ctl)
244 SYSCALL_SPU(epoll_wait)
245 SYSCALL_SPU(remap_file_pages)
246 SYSX_SPU(sys_timer_create,compat_sys_timer_create,sys_timer_create)
247 COMPAT_SYS_SPU(timer_settime)
248 COMPAT_SYS_SPU(timer_gettime)
249 SYSCALL_SPU(timer_getoverrun)
250 SYSCALL_SPU(timer_delete)
251 COMPAT_SYS_SPU(clock_settime)
252 COMPAT_SYS_SPU(clock_gettime)
253 COMPAT_SYS_SPU(clock_getres)
254 COMPAT_SYS_SPU(clock_nanosleep)
255 SYSX(ppc64_swapcontext,ppc32_swapcontext,ppc_swapcontext)
256 COMPAT_SYS_SPU(tgkill)
257 COMPAT_SYS_SPU(utimes)
258 COMPAT_SYS_SPU(statfs64)
259 COMPAT_SYS_SPU(fstatfs64)
260 SYSX(sys_ni_syscall, ppc_fadvise64_64, ppc_fadvise64_64)
262 OLDSYS(debug_setcontext)
264 COMPAT_SYS(migrate_pages)
266 COMPAT_SYS(get_mempolicy)
267 COMPAT_SYS(set_mempolicy)
270 COMPAT_SYS(mq_timedsend)
271 COMPAT_SYS(mq_timedreceive)
272 COMPAT_SYS(mq_notify)
273 COMPAT_SYS(mq_getsetattr)
274 COMPAT_SYS(kexec_load)
276 COMPAT_SYS(request_key)
279 COMPAT_SYS(ioprio_set)
280 COMPAT_SYS(ioprio_get)
281 SYSCALL(inotify_init)
282 SYSCALL(inotify_add_watch)
283 SYSCALL(inotify_rm_watch)
291 COMPAT_SYS_SPU(vmsplice)
292 COMPAT_SYS_SPU(openat)
295 SYSCALL_SPU(fchownat)
296 COMPAT_SYS_SPU(futimesat)
297 SYSX_SPU(sys_newfstatat, sys_fstatat64, sys_fstatat64)
298 SYSCALL_SPU(unlinkat)
299 SYSCALL_SPU(renameat)
301 SYSCALL_SPU(symlinkat)
302 SYSCALL_SPU(readlinkat)
303 SYSCALL_SPU(fchmodat)
304 SYSCALL_SPU(faccessat)
305 COMPAT_SYS_SPU(get_robust_list)
306 COMPAT_SYS_SPU(set_robust_list)
307 COMPAT_SYS_SPU(move_pages)
309 COMPAT_SYS(epoll_pwait)
310 COMPAT_SYS_SPU(utimensat)
311 COMPAT_SYS_SPU(signalfd)
312 SYSCALL_SPU(timerfd_create)
314 COMPAT_SYS_SPU(sync_file_range2)
315 COMPAT_SYS(fallocate)
316 SYSCALL(subpage_prot)
317 COMPAT_SYS_SPU(timerfd_settime)
318 COMPAT_SYS_SPU(timerfd_gettime)