2 * arch/sh/kernel/syscalls.S
4 * System call table for SuperH
6 * Copyright (C) 1999, 2000, 2002 Niibe Yutaka
7 * Copyright (C) 2003 Paul Mundt
9 * This file is subject to the terms and conditions of the GNU General Public
10 * License. See the file "COPYING" in the main directory of this archive
14 #include <linux/sys.h>
15 #include <linux/linkage.h>
19 .long sys_restart_syscall /* 0 - old "setup()" system call*/
24 .long sys_open /* 5 */
29 .long sys_unlink /* 10 */
34 .long sys_chmod /* 15 */
36 .long sys_ni_syscall /* old break syscall holder */
39 .long sys_getpid /* 20 */
44 .long sys_stime /* 25 */
49 .long sys_utime /* 30 */
50 .long sys_ni_syscall /* old stty syscall holder */
51 .long sys_ni_syscall /* old gtty syscall holder */
54 .long sys_ni_syscall /* 35 */ /* old ftime syscall holder */
59 .long sys_rmdir /* 40 */
63 .long sys_ni_syscall /* old prof syscall holder */
64 .long sys_brk /* 45 */
69 .long sys_getegid16 /* 50 */
71 .long sys_umount /* recycled never used phys() */
72 .long sys_ni_syscall /* old lock syscall holder */
74 .long sys_fcntl /* 55 */
75 .long sys_ni_syscall /* old mpx syscall holder */
77 .long sys_ni_syscall /* old ulimit syscall holder */
78 .long sys_ni_syscall /* sys_olduname */
79 .long sys_umask /* 60 */
84 .long sys_getpgrp /* 65 */
89 .long sys_setreuid16 /* 70 */
94 .long sys_setrlimit /* 75 */
95 .long sys_old_getrlimit
97 .long sys_gettimeofday
98 .long sys_settimeofday
99 .long sys_getgroups16 /* 80 */
100 .long sys_setgroups16
101 .long sys_ni_syscall /* sys_oldselect */
104 .long sys_readlink /* 85 */
108 .long sys_old_readdir
109 .long old_mmap /* 90 */
114 .long sys_fchown16 /* 95 */
115 .long sys_getpriority
116 .long sys_setpriority
117 .long sys_ni_syscall /* old profil syscall holder */
119 .long sys_fstatfs /* 100 */
120 .long sys_ni_syscall /* ioperm */
124 .long sys_getitimer /* 105 */
129 .long sys_ni_syscall /* 110 */ /* iopl */
131 .long sys_ni_syscall /* idle */
132 .long sys_ni_syscall /* vm86old */
134 .long sys_swapoff /* 115 */
139 .long sys_clone /* 120 */
140 .long sys_setdomainname
142 .long sys_ni_syscall /* sys_modify_ldt */
144 .long sys_mprotect /* 125 */
145 .long sys_sigprocmask
146 .long sys_ni_syscall /* old "create_module" */
147 .long sys_init_module
148 .long sys_delete_module
149 .long sys_ni_syscall /* 130: old "get_kernel_syms" */
154 .long sys_sysfs /* 135 */
155 .long sys_personality
156 .long sys_ni_syscall /* for afs_syscall */
159 .long sys_llseek /* 140 */
164 .long sys_readv /* 145 */
169 .long sys_mlock /* 150 */
173 .long sys_sched_setparam
174 .long sys_sched_getparam /* 155 */
175 .long sys_sched_setscheduler
176 .long sys_sched_getscheduler
177 .long sys_sched_yield
178 .long sys_sched_get_priority_max
179 .long sys_sched_get_priority_min /* 160 */
180 .long sys_sched_rr_get_interval
183 .long sys_setresuid16
184 .long sys_getresuid16 /* 165 */
185 .long sys_ni_syscall /* vm86 */
186 .long sys_ni_syscall /* old "query_module" */
189 .long sys_setresgid16 /* 170 */
190 .long sys_getresgid16
192 .long sys_rt_sigreturn
193 .long sys_rt_sigaction
194 .long sys_rt_sigprocmask /* 175 */
195 .long sys_rt_sigpending
196 .long sys_rt_sigtimedwait
197 .long sys_rt_sigqueueinfo
198 .long sys_rt_sigsuspend
199 .long sys_pread_wrapper /* 180 */
200 .long sys_pwrite_wrapper
204 .long sys_capset /* 185 */
205 .long sys_sigaltstack
207 .long sys_ni_syscall /* streams1 */
208 .long sys_ni_syscall /* streams2 */
209 .long sys_vfork /* 190 */
213 .long sys_ftruncate64
214 .long sys_stat64 /* 195 */
219 .long sys_getgid /* 200 */
224 .long sys_getgroups /* 205 */
229 .long sys_setresgid /* 210 */
234 .long sys_setfsuid /* 215 */
239 .long sys_getdents64 /* 220 */
241 .long sys_ni_syscall /* reserved for TUX */
242 .long sys_ni_syscall /* Reserved for Security */
244 .long sys_readahead /* 225 */
249 .long sys_lgetxattr /* 230 */
254 .long sys_removexattr /* 235 */
255 .long sys_lremovexattr
256 .long sys_fremovexattr
259 .long sys_futex /* 240 */
260 .long sys_sched_setaffinity
261 .long sys_sched_getaffinity
264 .long sys_io_setup /* 245 */
266 .long sys_io_getevents
269 .long sys_fadvise64 /* 250 */
272 .long sys_lookup_dcookie
273 .long sys_epoll_create
274 .long sys_epoll_ctl /* 255 */
276 .long sys_remap_file_pages
277 .long sys_set_tid_address
278 .long sys_timer_create
279 .long sys_timer_settime /* 260 */
280 .long sys_timer_gettime
281 .long sys_timer_getoverrun
282 .long sys_timer_delete
283 .long sys_clock_settime
284 .long sys_clock_gettime /* 265 */
285 .long sys_clock_getres
286 .long sys_clock_nanosleep
289 .long sys_tgkill /* 270 */
291 .long sys_fadvise64_64_wrapper
292 .long sys_ni_syscall /* Reserved for vserver */
294 .long sys_get_mempolicy /* 275 */
295 .long sys_set_mempolicy
298 .long sys_mq_timedsend
299 .long sys_mq_timedreceive /* 280 */
301 .long sys_mq_getsetattr
304 .long sys_add_key /* 285 */
305 .long sys_request_key
309 .long sys_inotify_init /* 290 */
310 .long sys_inotify_add_watch
311 .long sys_inotify_rm_watch
313 .long sys_migrate_pages
314 .long sys_openat /* 295 */
319 .long sys_fstatat64 /* 300 */
324 .long sys_readlinkat /* 305 */
329 .long sys_unshare /* 310 */
330 .long sys_set_robust_list
331 .long sys_get_robust_list
333 .long sys_sync_file_range
334 .long sys_tee /* 315 */
338 .long sys_epoll_pwait
339 .long sys_utimensat /* 320 */
341 .long sys_timerfd_create
344 .long sys_timerfd_settime /* 325 */
345 .long sys_timerfd_gettime
348 .long sys_epoll_create1
349 .long sys_dup3 /* 330 */
351 .long sys_inotify_init1
354 .long sys_rt_tgsigqueueinfo /* 335 */
355 .long sys_perf_counter_open