2 * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
4 * Based on older entry.S files, the following copyrights apply:
6 * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
7 * Kenneth Albanowski <kjahds@kjahds.com>,
8 * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
9 * Copyright (C) 1991, 1992 Linus Torvalds
11 * Linux/m68k support by Hamish Macdonald
14 #include <linux/linkage.h>
17 #define sys_mmap2 sys_mmap_pgoff
23 .long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */
28 .long sys_open /* 5 */
33 .long sys_unlink /* 10 */
38 .long sys_chmod /* 15 */
40 .long sys_ni_syscall /* old break syscall holder */
43 .long sys_getpid /* 20 */
48 .long sys_stime /* 25 */
53 .long sys_utime /* 30 */
54 .long sys_ni_syscall /* old stty syscall holder */
55 .long sys_ni_syscall /* old gtty syscall holder */
58 .long sys_ni_syscall /* 35 - old ftime syscall holder */
63 .long sys_rmdir /* 40 */
67 .long sys_ni_syscall /* old prof syscall holder */
68 .long sys_brk /* 45 */
73 .long sys_getegid16 /* 50 */
75 .long sys_umount /* recycled never used phys() */
76 .long sys_ni_syscall /* old lock syscall holder */
78 .long sys_fcntl /* 55 */
79 .long sys_ni_syscall /* old mpx syscall holder */
81 .long sys_ni_syscall /* old ulimit syscall holder */
83 .long sys_umask /* 60 */
88 .long sys_getpgrp /* 65 */
93 .long sys_setreuid16 /* 70 */
98 .long sys_setrlimit /* 75 */
99 .long sys_old_getrlimit
101 .long sys_gettimeofday
102 .long sys_settimeofday
103 .long sys_getgroups16 /* 80 */
104 .long sys_setgroups16
108 .long sys_readlink /* 85 */
112 .long sys_old_readdir
113 .long sys_old_mmap /* 90 */
118 .long sys_fchown16 /* 95 */
119 .long sys_getpriority
120 .long sys_setpriority
121 .long sys_ni_syscall /* old profil syscall holder */
123 .long sys_fstatfs /* 100 */
124 .long sys_ni_syscall /* ioperm for i386 */
128 .long sys_getitimer /* 105 */
133 .long sys_ni_syscall /* 110 - iopl for i386 */
135 .long sys_ni_syscall /* obsolete idle() syscall */
136 .long sys_ni_syscall /* vm86old for i386 */
138 .long sys_swapoff /* 115 */
143 .long __sys_clone /* 120 */
144 .long sys_setdomainname
146 .long sys_cacheflush /* modify_ldt for i386 */
148 .long sys_mprotect /* 125 */
149 .long sys_sigprocmask
150 .long sys_ni_syscall /* old "create_module" */
151 .long sys_init_module
152 .long sys_delete_module
153 .long sys_ni_syscall /* 130 - old "get_kernel_syms" */
158 .long sys_sysfs /* 135 */
159 .long sys_personality
160 .long sys_ni_syscall /* for afs_syscall */
163 .long sys_llseek /* 140 */
168 .long sys_readv /* 145 */
173 .long sys_mlock /* 150 */
177 .long sys_sched_setparam
178 .long sys_sched_getparam /* 155 */
179 .long sys_sched_setscheduler
180 .long sys_sched_getscheduler
181 .long sys_sched_yield
182 .long sys_sched_get_priority_max
183 .long sys_sched_get_priority_min /* 160 */
184 .long sys_sched_rr_get_interval
187 .long sys_setresuid16
188 .long sys_getresuid16 /* 165 */
189 .long sys_getpagesize
190 .long sys_ni_syscall /* old "query_module" */
192 .long sys_ni_syscall /* old nfsservctl */
193 .long sys_setresgid16 /* 170 */
194 .long sys_getresgid16
196 .long sys_rt_sigreturn
197 .long sys_rt_sigaction
198 .long sys_rt_sigprocmask /* 175 */
199 .long sys_rt_sigpending
200 .long sys_rt_sigtimedwait
201 .long sys_rt_sigqueueinfo
202 .long sys_rt_sigsuspend
203 .long sys_pread64 /* 180 */
208 .long sys_capset /* 185 */
209 .long sys_sigaltstack
211 .long sys_ni_syscall /* streams1 */
212 .long sys_ni_syscall /* streams2 */
213 .long __sys_vfork /* 190 */
217 .long sys_ftruncate64
218 .long sys_stat64 /* 195 */
223 .long sys_getgid /* 200 */
228 .long sys_getgroups /* 205 */
233 .long sys_setresgid /* 210 */
238 .long sys_setfsuid /* 215 */
243 .long sys_getdents64 /* 220 */
248 .long sys_fsetxattr /* 225 */
253 .long sys_llistxattr /* 230 */
255 .long sys_removexattr
256 .long sys_lremovexattr
257 .long sys_fremovexattr
258 .long sys_futex /* 235 */
263 .long sys_readahead /* 240 */
266 .long sys_io_getevents
268 .long sys_io_cancel /* 245 */
271 .long sys_lookup_dcookie
272 .long sys_epoll_create
273 .long sys_epoll_ctl /* 250 */
275 .long sys_remap_file_pages
276 .long sys_set_tid_address
277 .long sys_timer_create
278 .long sys_timer_settime /* 255 */
279 .long sys_timer_gettime
280 .long sys_timer_getoverrun
281 .long sys_timer_delete
282 .long sys_clock_settime
283 .long sys_clock_gettime /* 260 */
284 .long sys_clock_getres
285 .long sys_clock_nanosleep
288 .long sys_tgkill /* 265 */
290 .long sys_fadvise64_64
292 .long sys_get_mempolicy
293 .long sys_set_mempolicy /* 270 */
296 .long sys_mq_timedsend
297 .long sys_mq_timedreceive
298 .long sys_mq_notify /* 275 */
299 .long sys_mq_getsetattr
301 .long sys_ni_syscall /* for sys_vserver */
303 .long sys_request_key /* 280 */
307 .long sys_inotify_init
308 .long sys_inotify_add_watch /* 285 */
309 .long sys_inotify_rm_watch
310 .long sys_migrate_pages
313 .long sys_mknodat /* 290 */
318 .long sys_renameat /* 295 */
323 .long sys_faccessat /* 300 */
327 .long sys_set_robust_list
328 .long sys_get_robust_list /* 305 */
330 .long sys_sync_file_range
333 .long sys_move_pages /* 310 */
334 .long sys_sched_setaffinity
335 .long sys_sched_getaffinity
338 .long sys_epoll_pwait /* 315 */
341 .long sys_timerfd_create
343 .long sys_fallocate /* 320 */
344 .long sys_timerfd_settime
345 .long sys_timerfd_gettime
348 .long sys_epoll_create1 /* 325 */
351 .long sys_inotify_init1
353 .long sys_pwritev /* 330 */
354 .long sys_rt_tgsigqueueinfo
355 .long sys_perf_event_open
356 .long sys_get_thread_area
357 .long sys_set_thread_area
358 .long sys_atomic_cmpxchg_32 /* 335 */
359 .long sys_atomic_barrier
360 .long sys_fanotify_init
361 .long sys_fanotify_mark
363 .long sys_name_to_handle_at /* 340 */
364 .long sys_open_by_handle_at
365 .long sys_clock_adjtime
368 .long sys_process_vm_readv /* 345 */
369 .long sys_process_vm_writev
371 .long sys_finit_module
372 .long sys_sched_setattr
373 .long sys_sched_getattr /* 350 */
376 .long sys_memfd_create
378 .long sys_execveat /* 355 */