Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6.git] / arch / powerpc / include / asm / systbl.h
1 /*
2  * List of powerpc syscalls. For the meaning of the _SPU suffix see
3  * arch/powerpc/platforms/cell/spu_callbacks.c
4  */
5
6 SYSCALL(restart_syscall)
7 SYSCALL(exit)
8 PPC_SYS(fork)
9 SYSCALL_SPU(read)
10 SYSCALL_SPU(write)
11 COMPAT_SYS_SPU(open)
12 SYSCALL_SPU(close)
13 COMPAT_SYS_SPU(waitpid)
14 COMPAT_SYS_SPU(creat)
15 SYSCALL_SPU(link)
16 SYSCALL_SPU(unlink)
17 COMPAT_SYS(execve)
18 SYSCALL_SPU(chdir)
19 COMPAT_SYS_SPU(time)
20 SYSCALL_SPU(mknod)
21 SYSCALL_SPU(chmod)
22 SYSCALL_SPU(lchown)
23 SYSCALL(ni_syscall)
24 OLDSYS(stat)
25 SYSX_SPU(sys_lseek,ppc32_lseek,sys_lseek)
26 SYSCALL_SPU(getpid)
27 COMPAT_SYS(mount)
28 SYSX(sys_ni_syscall,sys_oldumount,sys_oldumount)
29 SYSCALL_SPU(setuid)
30 SYSCALL_SPU(getuid)
31 COMPAT_SYS_SPU(stime)
32 COMPAT_SYS(ptrace)
33 SYSCALL_SPU(alarm)
34 OLDSYS(fstat)
35 SYSCALL(pause)
36 COMPAT_SYS(utime)
37 SYSCALL(ni_syscall)
38 SYSCALL(ni_syscall)
39 COMPAT_SYS_SPU(access)
40 COMPAT_SYS_SPU(nice)
41 SYSCALL(ni_syscall)
42 SYSCALL_SPU(sync)
43 COMPAT_SYS_SPU(kill)
44 SYSCALL_SPU(rename)
45 COMPAT_SYS_SPU(mkdir)
46 SYSCALL_SPU(rmdir)
47 SYSCALL_SPU(dup)
48 SYSCALL_SPU(pipe)
49 COMPAT_SYS_SPU(times)
50 SYSCALL(ni_syscall)
51 SYSCALL_SPU(brk)
52 SYSCALL_SPU(setgid)
53 SYSCALL_SPU(getgid)
54 SYSCALL(signal)
55 SYSCALL_SPU(geteuid)
56 SYSCALL_SPU(getegid)
57 SYSCALL(acct)
58 SYSCALL(umount)
59 SYSCALL(ni_syscall)
60 COMPAT_SYS_SPU(ioctl)
61 COMPAT_SYS_SPU(fcntl)
62 SYSCALL(ni_syscall)
63 COMPAT_SYS_SPU(setpgid)
64 SYSCALL(ni_syscall)
65 SYSX(sys_ni_syscall,sys_olduname, sys_olduname)
66 COMPAT_SYS_SPU(umask)
67 SYSCALL_SPU(chroot)
68 COMPAT_SYS(ustat)
69 SYSCALL_SPU(dup2)
70 SYSCALL_SPU(getppid)
71 SYSCALL_SPU(getpgrp)
72 SYSCALL_SPU(setsid)
73 SYS32ONLY(sigaction)
74 SYSCALL_SPU(sgetmask)
75 COMPAT_SYS_SPU(ssetmask)
76 SYSCALL_SPU(setreuid)
77 SYSCALL_SPU(setregid)
78 SYS32ONLY(sigsuspend)
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)
89 SYSCALL_SPU(symlink)
90 OLDSYS(lstat)
91 COMPAT_SYS_SPU(readlink)
92 SYSCALL(uselib)
93 SYSCALL(swapon)
94 SYSCALL(reboot)
95 SYSX(sys_ni_syscall,compat_sys_old_readdir,sys_old_readdir)
96 SYSCALL_SPU(mmap)
97 SYSCALL_SPU(munmap)
98 COMPAT_SYS_SPU(truncate)
99 COMPAT_SYS_SPU(ftruncate)
100 SYSCALL_SPU(fchmod)
101 SYSCALL_SPU(fchown)
102 COMPAT_SYS_SPU(getpriority)
103 COMPAT_SYS_SPU(setpriority)
104 SYSCALL(ni_syscall)
105 COMPAT_SYS(statfs)
106 COMPAT_SYS(fstatfs)
107 SYSCALL(ni_syscall)
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)
116 SYSCALL(ni_syscall)
117 SYSCALL_SPU(vhangup)
118 SYSCALL(ni_syscall)
119 SYSCALL(ni_syscall)
120 COMPAT_SYS_SPU(wait4)
121 SYSCALL(swapoff)
122 COMPAT_SYS_SPU(sysinfo)
123 COMPAT_SYS(ipc)
124 SYSCALL_SPU(fsync)
125 SYS32ONLY(sigreturn)
126 PPC_SYS(clone)
127 COMPAT_SYS_SPU(setdomainname)
128 PPC_SYS_SPU(newuname)
129 SYSCALL(ni_syscall)
130 COMPAT_SYS_SPU(adjtimex)
131 SYSCALL_SPU(mprotect)
132 SYSX(sys_ni_syscall,compat_sys_sigprocmask,sys_sigprocmask)
133 SYSCALL(ni_syscall)
134 SYSCALL(init_module)
135 SYSCALL(delete_module)
136 SYSCALL(ni_syscall)
137 SYSCALL(quotactl)
138 COMPAT_SYS_SPU(getpgid)
139 SYSCALL_SPU(fchdir)
140 SYSCALL_SPU(bdflush)
141 COMPAT_SYS(sysfs)
142 SYSX_SPU(ppc64_personality,ppc64_personality,sys_personality)
143 SYSCALL(ni_syscall)
144 SYSCALL_SPU(setfsuid)
145 SYSCALL_SPU(setfsgid)
146 SYSCALL_SPU(llseek)
147 COMPAT_SYS_SPU(getdents)
148 SYSX_SPU(sys_select,ppc32_select,sys_select)
149 SYSCALL_SPU(flock)
150 SYSCALL_SPU(msync)
151 COMPAT_SYS_SPU(readv)
152 COMPAT_SYS_SPU(writev)
153 COMPAT_SYS_SPU(getsid)
154 SYSCALL_SPU(fdatasync)
155 COMPAT_SYS(sysctl)
156 SYSCALL_SPU(mlock)
157 SYSCALL_SPU(munlock)
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)
169 SYSCALL_SPU(mremap)
170 SYSCALL_SPU(setresuid)
171 SYSCALL_SPU(getresuid)
172 SYSCALL(ni_syscall)
173 SYSCALL_SPU(poll)
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)
187 SYSCALL_SPU(chown)
188 SYSCALL_SPU(getcwd)
189 SYSCALL_SPU(capget)
190 SYSCALL_SPU(capset)
191 COMPAT_SYS(sigaltstack)
192 SYSX_SPU(sys_sendfile64,compat_sys_sendfile,sys_sendfile)
193 SYSCALL(ni_syscall)
194 SYSCALL(ni_syscall)
195 PPC_SYS(vfork)
196 COMPAT_SYS_SPU(getrlimit)
197 COMPAT_SYS_SPU(readahead)
198 SYS32ONLY(mmap2)
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)
207 SYSCALL(ni_syscall)
208 SYSCALL_SPU(getdents64)
209 SYSCALL_SPU(pivot_root)
210 SYSX(sys_ni_syscall,compat_sys_fcntl64,sys_fcntl64)
211 SYSCALL_SPU(madvise)
212 SYSCALL_SPU(mincore)
213 SYSCALL_SPU(gettid)
214 SYSCALL_SPU(tkill)
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)
230 SYSCALL(ni_syscall)
231 SYSCALL(ni_syscall)
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)
240 SYSCALL(exit_group)
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)
261 PPC_SYS_SPU(rtas)
262 OLDSYS(debug_setcontext)
263 SYSCALL(ni_syscall)
264 COMPAT_SYS(migrate_pages)
265 COMPAT_SYS(mbind)
266 COMPAT_SYS(get_mempolicy)
267 COMPAT_SYS(set_mempolicy)
268 COMPAT_SYS(mq_open)
269 SYSCALL(mq_unlink)
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)
275 COMPAT_SYS(add_key)
276 COMPAT_SYS(request_key)
277 COMPAT_SYS(keyctl)
278 COMPAT_SYS(waitid)
279 COMPAT_SYS(ioprio_set)
280 COMPAT_SYS(ioprio_get)
281 SYSCALL(inotify_init)
282 SYSCALL(inotify_add_watch)
283 SYSCALL(inotify_rm_watch)
284 SYSCALL(spu_run)
285 SYSCALL(spu_create)
286 COMPAT_SYS(pselect6)
287 COMPAT_SYS(ppoll)
288 SYSCALL_SPU(unshare)
289 SYSCALL_SPU(splice)
290 SYSCALL_SPU(tee)
291 COMPAT_SYS_SPU(vmsplice)
292 COMPAT_SYS_SPU(openat)
293 SYSCALL_SPU(mkdirat)
294 SYSCALL_SPU(mknodat)
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)
300 SYSCALL_SPU(linkat)
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)
308 SYSCALL_SPU(getcpu)
309 COMPAT_SYS(epoll_pwait)
310 COMPAT_SYS_SPU(utimensat)
311 COMPAT_SYS_SPU(signalfd)
312 SYSCALL_SPU(timerfd_create)
313 SYSCALL_SPU(eventfd)
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)
319 COMPAT_SYS_SPU(signalfd4)
320 SYSCALL_SPU(eventfd2)
321 SYSCALL_SPU(epoll_create1)
322 SYSCALL_SPU(dup3)
323 SYSCALL_SPU(pipe2)
324 SYSCALL(inotify_init1)
325 SYSCALL_SPU(perf_event_open)
326 COMPAT_SYS_SPU(preadv)
327 COMPAT_SYS_SPU(pwritev)
328 COMPAT_SYS(rt_tgsigqueueinfo)