diff options
Diffstat (limited to 'arch/avr32/kernel/syscall_table.S')
-rw-r--r-- | arch/avr32/kernel/syscall_table.S | 289 |
1 files changed, 289 insertions, 0 deletions
diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S new file mode 100644 index 000000000000..63b206965d05 --- /dev/null +++ b/arch/avr32/kernel/syscall_table.S | |||
@@ -0,0 +1,289 @@ | |||
1 | /* | ||
2 | * AVR32 system call table | ||
3 | * | ||
4 | * Copyright (C) 2004-2006 Atmel Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #if !defined(CONFIG_NFSD) && !defined(CONFIG_NFSD_MODULE) | ||
12 | #define sys_nfsservctl sys_ni_syscall | ||
13 | #endif | ||
14 | |||
15 | #if !defined(CONFIG_SYSV_IPC) | ||
16 | # define sys_ipc sys_ni_syscall | ||
17 | #endif | ||
18 | |||
19 | .section .rodata,"a",@progbits | ||
20 | .type sys_call_table,@object | ||
21 | .global sys_call_table | ||
22 | .align 2 | ||
23 | sys_call_table: | ||
24 | .long sys_restart_syscall | ||
25 | .long sys_exit | ||
26 | .long __sys_fork | ||
27 | .long sys_read | ||
28 | .long sys_write | ||
29 | .long sys_open /* 5 */ | ||
30 | .long sys_close | ||
31 | .long sys_umask | ||
32 | .long sys_creat | ||
33 | .long sys_link | ||
34 | .long sys_unlink /* 10 */ | ||
35 | .long __sys_execve | ||
36 | .long sys_chdir | ||
37 | .long sys_time | ||
38 | .long sys_mknod | ||
39 | .long sys_chmod /* 15 */ | ||
40 | .long sys_chown | ||
41 | .long sys_lchown | ||
42 | .long sys_lseek | ||
43 | .long sys_llseek | ||
44 | .long sys_getpid /* 20 */ | ||
45 | .long sys_mount | ||
46 | .long sys_umount | ||
47 | .long sys_setuid | ||
48 | .long sys_getuid | ||
49 | .long sys_stime /* 25 */ | ||
50 | .long sys_ptrace | ||
51 | .long sys_alarm | ||
52 | .long sys_pause | ||
53 | .long sys_utime | ||
54 | .long sys_newstat /* 30 */ | ||
55 | .long sys_newfstat | ||
56 | .long sys_newlstat | ||
57 | .long sys_access | ||
58 | .long sys_chroot | ||
59 | .long sys_sync /* 35 */ | ||
60 | .long sys_fsync | ||
61 | .long sys_kill | ||
62 | .long sys_rename | ||
63 | .long sys_mkdir | ||
64 | .long sys_rmdir /* 40 */ | ||
65 | .long sys_dup | ||
66 | .long sys_pipe | ||
67 | .long sys_times | ||
68 | .long __sys_clone | ||
69 | .long sys_brk /* 45 */ | ||
70 | .long sys_setgid | ||
71 | .long sys_getgid | ||
72 | .long sys_getcwd | ||
73 | .long sys_geteuid | ||
74 | .long sys_getegid /* 50 */ | ||
75 | .long sys_acct | ||
76 | .long sys_setfsuid | ||
77 | .long sys_setfsgid | ||
78 | .long sys_ioctl | ||
79 | .long sys_fcntl /* 55 */ | ||
80 | .long sys_setpgid | ||
81 | .long sys_mremap | ||
82 | .long sys_setresuid | ||
83 | .long sys_getresuid | ||
84 | .long sys_setreuid /* 60 */ | ||
85 | .long sys_setregid | ||
86 | .long sys_ustat | ||
87 | .long sys_dup2 | ||
88 | .long sys_getppid | ||
89 | .long sys_getpgrp /* 65 */ | ||
90 | .long sys_setsid | ||
91 | .long sys_rt_sigaction | ||
92 | .long __sys_rt_sigreturn | ||
93 | .long sys_rt_sigprocmask | ||
94 | .long sys_rt_sigpending /* 70 */ | ||
95 | .long sys_rt_sigtimedwait | ||
96 | .long sys_rt_sigqueueinfo | ||
97 | .long __sys_rt_sigsuspend | ||
98 | .long sys_sethostname | ||
99 | .long sys_setrlimit /* 75 */ | ||
100 | .long sys_getrlimit | ||
101 | .long sys_getrusage | ||
102 | .long sys_gettimeofday | ||
103 | .long sys_settimeofday | ||
104 | .long sys_getgroups /* 80 */ | ||
105 | .long sys_setgroups | ||
106 | .long sys_select | ||
107 | .long sys_symlink | ||
108 | .long sys_fchdir | ||
109 | .long sys_readlink /* 85 */ | ||
110 | .long sys_pread64 | ||
111 | .long sys_pwrite64 | ||
112 | .long sys_swapon | ||
113 | .long sys_reboot | ||
114 | .long __sys_mmap2 /* 90 */ | ||
115 | .long sys_munmap | ||
116 | .long sys_truncate | ||
117 | .long sys_ftruncate | ||
118 | .long sys_fchmod | ||
119 | .long sys_fchown /* 95 */ | ||
120 | .long sys_getpriority | ||
121 | .long sys_setpriority | ||
122 | .long sys_wait4 | ||
123 | .long sys_statfs | ||
124 | .long sys_fstatfs /* 100 */ | ||
125 | .long sys_vhangup | ||
126 | .long __sys_sigaltstack | ||
127 | .long sys_syslog | ||
128 | .long sys_setitimer | ||
129 | .long sys_getitimer /* 105 */ | ||
130 | .long sys_swapoff | ||
131 | .long sys_sysinfo | ||
132 | .long sys_ipc | ||
133 | .long sys_sendfile | ||
134 | .long sys_setdomainname /* 110 */ | ||
135 | .long sys_newuname | ||
136 | .long sys_adjtimex | ||
137 | .long sys_mprotect | ||
138 | .long __sys_vfork | ||
139 | .long sys_init_module /* 115 */ | ||
140 | .long sys_delete_module | ||
141 | .long sys_quotactl | ||
142 | .long sys_getpgid | ||
143 | .long sys_bdflush | ||
144 | .long sys_sysfs /* 120 */ | ||
145 | .long sys_personality | ||
146 | .long sys_ni_syscall /* reserved for afs_syscall */ | ||
147 | .long sys_getdents | ||
148 | .long sys_flock | ||
149 | .long sys_msync /* 125 */ | ||
150 | .long sys_readv | ||
151 | .long sys_writev | ||
152 | .long sys_getsid | ||
153 | .long sys_fdatasync | ||
154 | .long sys_sysctl /* 130 */ | ||
155 | .long sys_mlock | ||
156 | .long sys_munlock | ||
157 | .long sys_mlockall | ||
158 | .long sys_munlockall | ||
159 | .long sys_sched_setparam /* 135 */ | ||
160 | .long sys_sched_getparam | ||
161 | .long sys_sched_setscheduler | ||
162 | .long sys_sched_getscheduler | ||
163 | .long sys_sched_yield | ||
164 | .long sys_sched_get_priority_max /* 140 */ | ||
165 | .long sys_sched_get_priority_min | ||
166 | .long sys_sched_rr_get_interval | ||
167 | .long sys_nanosleep | ||
168 | .long sys_poll | ||
169 | .long sys_nfsservctl /* 145 */ | ||
170 | .long sys_setresgid | ||
171 | .long sys_getresgid | ||
172 | .long sys_prctl | ||
173 | .long sys_socket | ||
174 | .long sys_bind /* 150 */ | ||
175 | .long sys_connect | ||
176 | .long sys_listen | ||
177 | .long sys_accept | ||
178 | .long sys_getsockname | ||
179 | .long sys_getpeername /* 155 */ | ||
180 | .long sys_socketpair | ||
181 | .long sys_send | ||
182 | .long sys_recv | ||
183 | .long __sys_sendto | ||
184 | .long __sys_recvfrom /* 160 */ | ||
185 | .long sys_shutdown | ||
186 | .long sys_setsockopt | ||
187 | .long sys_getsockopt | ||
188 | .long sys_sendmsg | ||
189 | .long sys_recvmsg /* 165 */ | ||
190 | .long sys_truncate64 | ||
191 | .long sys_ftruncate64 | ||
192 | .long sys_stat64 | ||
193 | .long sys_lstat64 | ||
194 | .long sys_fstat64 /* 170 */ | ||
195 | .long sys_pivot_root | ||
196 | .long sys_mincore | ||
197 | .long sys_madvise | ||
198 | .long sys_getdents64 | ||
199 | .long sys_fcntl64 /* 175 */ | ||
200 | .long sys_gettid | ||
201 | .long sys_readahead | ||
202 | .long sys_setxattr | ||
203 | .long sys_lsetxattr | ||
204 | .long sys_fsetxattr /* 180 */ | ||
205 | .long sys_getxattr | ||
206 | .long sys_lgetxattr | ||
207 | .long sys_fgetxattr | ||
208 | .long sys_listxattr | ||
209 | .long sys_llistxattr /* 185 */ | ||
210 | .long sys_flistxattr | ||
211 | .long sys_removexattr | ||
212 | .long sys_lremovexattr | ||
213 | .long sys_fremovexattr | ||
214 | .long sys_tkill /* 190 */ | ||
215 | .long sys_sendfile64 | ||
216 | .long sys_futex | ||
217 | .long sys_sched_setaffinity | ||
218 | .long sys_sched_getaffinity | ||
219 | .long sys_capget /* 195 */ | ||
220 | .long sys_capset | ||
221 | .long sys_io_setup | ||
222 | .long sys_io_destroy | ||
223 | .long sys_io_getevents | ||
224 | .long sys_io_submit /* 200 */ | ||
225 | .long sys_io_cancel | ||
226 | .long sys_fadvise64 | ||
227 | .long sys_exit_group | ||
228 | .long sys_lookup_dcookie | ||
229 | .long sys_epoll_create /* 205 */ | ||
230 | .long sys_epoll_ctl | ||
231 | .long sys_epoll_wait | ||
232 | .long sys_remap_file_pages | ||
233 | .long sys_set_tid_address | ||
234 | .long sys_timer_create /* 210 */ | ||
235 | .long sys_timer_settime | ||
236 | .long sys_timer_gettime | ||
237 | .long sys_timer_getoverrun | ||
238 | .long sys_timer_delete | ||
239 | .long sys_clock_settime /* 215 */ | ||
240 | .long sys_clock_gettime | ||
241 | .long sys_clock_getres | ||
242 | .long sys_clock_nanosleep | ||
243 | .long sys_statfs64 | ||
244 | .long sys_fstatfs64 /* 220 */ | ||
245 | .long sys_tgkill | ||
246 | .long sys_ni_syscall /* reserved for TUX */ | ||
247 | .long sys_utimes | ||
248 | .long sys_fadvise64_64 | ||
249 | .long sys_cacheflush /* 225 */ | ||
250 | .long sys_ni_syscall /* sys_vserver */ | ||
251 | .long sys_mq_open | ||
252 | .long sys_mq_unlink | ||
253 | .long sys_mq_timedsend | ||
254 | .long sys_mq_timedreceive /* 230 */ | ||
255 | .long sys_mq_notify | ||
256 | .long sys_mq_getsetattr | ||
257 | .long sys_kexec_load | ||
258 | .long sys_waitid | ||
259 | .long sys_add_key /* 235 */ | ||
260 | .long sys_request_key | ||
261 | .long sys_keyctl | ||
262 | .long sys_ioprio_set | ||
263 | .long sys_ioprio_get | ||
264 | .long sys_inotify_init /* 240 */ | ||
265 | .long sys_inotify_add_watch | ||
266 | .long sys_inotify_rm_watch | ||
267 | .long sys_openat | ||
268 | .long sys_mkdirat | ||
269 | .long sys_mknodat /* 245 */ | ||
270 | .long sys_fchownat | ||
271 | .long sys_futimesat | ||
272 | .long sys_fstatat64 | ||
273 | .long sys_unlinkat | ||
274 | .long sys_renameat /* 250 */ | ||
275 | .long sys_linkat | ||
276 | .long sys_symlinkat | ||
277 | .long sys_readlinkat | ||
278 | .long sys_fchmodat | ||
279 | .long sys_faccessat /* 255 */ | ||
280 | .long __sys_pselect6 | ||
281 | .long sys_ppoll | ||
282 | .long sys_unshare | ||
283 | .long sys_set_robust_list | ||
284 | .long sys_get_robust_list /* 260 */ | ||
285 | .long __sys_splice | ||
286 | .long sys_sync_file_range | ||
287 | .long sys_tee | ||
288 | .long sys_vmsplice | ||
289 | .long sys_ni_syscall /* r8 is saturated at nr_syscalls */ | ||