Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / arch / arm / kernel / calls.S
1 /*
2  *  linux/arch/arm/kernel/calls.S
3  *
4  *  Copyright (C) 1995-2005 Russell King
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  *  This file is included twice in entry-common.S
11  */
12 #ifndef NR_syscalls
13 #define NR_syscalls 328
14 #else
15
16 __syscall_start:
17 /* 0 */         .long   sys_restart_syscall
18                 .long   sys_exit
19                 .long   sys_fork_wrapper
20                 .long   sys_read
21                 .long   sys_write
22 /* 5 */         .long   sys_open
23                 .long   sys_close
24                 .long   sys_ni_syscall          /* was sys_waitpid */
25                 .long   sys_creat
26                 .long   sys_link
27 /* 10 */        .long   sys_unlink
28                 .long   sys_execve_wrapper
29                 .long   sys_chdir
30                 .long   sys_time                /* used by libc4 */
31                 .long   sys_mknod
32 /* 15 */        .long   sys_chmod
33                 .long   sys_lchown16
34                 .long   sys_ni_syscall          /* was sys_break */
35                 .long   sys_ni_syscall          /* was sys_stat */
36                 .long   sys_lseek
37 /* 20 */        .long   sys_getpid
38                 .long   sys_mount
39                 .long   sys_oldumount           /* used by libc4 */
40                 .long   sys_setuid16
41                 .long   sys_getuid16
42 /* 25 */        .long   sys_stime
43                 .long   sys_ptrace
44                 .long   sys_alarm               /* used by libc4 */
45                 .long   sys_ni_syscall          /* was sys_fstat */
46                 .long   sys_pause
47 /* 30 */        .long   sys_utime               /* used by libc4 */
48                 .long   sys_ni_syscall          /* was sys_stty */
49                 .long   sys_ni_syscall          /* was sys_getty */
50                 .long   sys_access
51                 .long   sys_nice
52 /* 35 */        .long   sys_ni_syscall          /* was sys_ftime */
53                 .long   sys_sync
54                 .long   sys_kill
55                 .long   sys_rename
56                 .long   sys_mkdir
57 /* 40 */        .long   sys_rmdir
58                 .long   sys_dup
59                 .long   sys_pipe
60                 .long   sys_times
61                 .long   sys_ni_syscall          /* was sys_prof */
62 /* 45 */        .long   sys_brk
63                 .long   sys_setgid16
64                 .long   sys_getgid16
65                 .long   sys_ni_syscall          /* was sys_signal */
66                 .long   sys_geteuid16
67 /* 50 */        .long   sys_getegid16
68                 .long   sys_acct
69                 .long   sys_umount
70                 .long   sys_ni_syscall          /* was sys_lock */
71                 .long   sys_ioctl
72 /* 55 */        .long   sys_fcntl
73                 .long   sys_ni_syscall          /* was sys_mpx */
74                 .long   sys_setpgid
75                 .long   sys_ni_syscall          /* was sys_ulimit */
76                 .long   sys_ni_syscall          /* was sys_olduname */
77 /* 60 */        .long   sys_umask
78                 .long   sys_chroot
79                 .long   sys_ustat
80                 .long   sys_dup2
81                 .long   sys_getppid
82 /* 65 */        .long   sys_getpgrp
83                 .long   sys_setsid
84                 .long   sys_sigaction
85                 .long   sys_ni_syscall          /* was sys_sgetmask */
86                 .long   sys_ni_syscall          /* was sys_ssetmask */
87 /* 70 */        .long   sys_setreuid16
88                 .long   sys_setregid16
89                 .long   sys_sigsuspend_wrapper
90                 .long   sys_sigpending
91                 .long   sys_sethostname
92 /* 75 */        .long   sys_setrlimit
93                 .long   sys_old_getrlimit       /* used by libc4 */
94                 .long   sys_getrusage
95                 .long   sys_gettimeofday
96                 .long   sys_settimeofday
97 /* 80 */        .long   sys_getgroups16
98                 .long   sys_setgroups16
99                 .long   old_select              /* used by libc4 */
100                 .long   sys_symlink
101                 .long   sys_ni_syscall          /* was sys_lstat */
102 /* 85 */        .long   sys_readlink
103                 .long   sys_uselib
104                 .long   sys_swapon
105                 .long   sys_reboot
106                 .long   old_readdir             /* used by libc4 */
107 /* 90 */        .long   old_mmap                /* used by libc4 */
108                 .long   sys_munmap
109                 .long   sys_truncate
110                 .long   sys_ftruncate
111                 .long   sys_fchmod
112 /* 95 */        .long   sys_fchown16
113                 .long   sys_getpriority
114                 .long   sys_setpriority
115                 .long   sys_ni_syscall          /* was sys_profil */
116                 .long   sys_statfs
117 /* 100 */       .long   sys_fstatfs
118                 .long   sys_ni_syscall
119                 .long   sys_socketcall
120                 .long   sys_syslog
121                 .long   sys_setitimer
122 /* 105 */       .long   sys_getitimer
123                 .long   sys_newstat
124                 .long   sys_newlstat
125                 .long   sys_newfstat
126                 .long   sys_ni_syscall          /* was sys_uname */
127 /* 110 */       .long   sys_ni_syscall          /* was sys_iopl */
128                 .long   sys_vhangup
129                 .long   sys_ni_syscall
130                 .long   sys_syscall             /* call a syscall */
131                 .long   sys_wait4
132 /* 115 */       .long   sys_swapoff
133                 .long   sys_sysinfo
134                 .long   sys_ipc
135                 .long   sys_fsync
136                 .long   sys_sigreturn_wrapper
137 /* 120 */       .long   sys_clone_wrapper
138                 .long   sys_setdomainname
139                 .long   sys_newuname
140                 .long   sys_ni_syscall
141                 .long   sys_adjtimex
142 /* 125 */       .long   sys_mprotect
143                 .long   sys_sigprocmask
144                 .long   sys_ni_syscall          /* was sys_create_module */
145                 .long   sys_init_module
146                 .long   sys_delete_module
147 /* 130 */       .long   sys_ni_syscall          /* was sys_get_kernel_syms */
148                 .long   sys_quotactl
149                 .long   sys_getpgid
150                 .long   sys_fchdir
151                 .long   sys_bdflush
152 /* 135 */       .long   sys_sysfs
153                 .long   sys_personality
154                 .long   sys_ni_syscall          /* .long        _sys_afs_syscall */
155                 .long   sys_setfsuid16
156                 .long   sys_setfsgid16
157 /* 140 */       .long   sys_llseek
158                 .long   sys_getdents
159                 .long   sys_select
160                 .long   sys_flock
161                 .long   sys_msync
162 /* 145 */       .long   sys_readv
163                 .long   sys_writev
164                 .long   sys_getsid
165                 .long   sys_fdatasync
166                 .long   sys_sysctl
167 /* 150 */       .long   sys_mlock
168                 .long   sys_munlock
169                 .long   sys_mlockall
170                 .long   sys_munlockall
171                 .long   sys_sched_setparam
172 /* 155 */       .long   sys_sched_getparam
173                 .long   sys_sched_setscheduler
174                 .long   sys_sched_getscheduler
175                 .long   sys_sched_yield
176                 .long   sys_sched_get_priority_max
177 /* 160 */       .long   sys_sched_get_priority_min
178                 .long   sys_sched_rr_get_interval
179                 .long   sys_nanosleep
180                 .long   sys_arm_mremap
181                 .long   sys_setresuid16
182 /* 165 */       .long   sys_getresuid16
183                 .long   sys_ni_syscall
184                 .long   sys_ni_syscall          /* was sys_query_module */
185                 .long   sys_poll
186                 .long   sys_nfsservctl
187 /* 170 */       .long   sys_setresgid16
188                 .long   sys_getresgid16
189                 .long   sys_prctl
190                 .long   sys_rt_sigreturn_wrapper
191                 .long   sys_rt_sigaction
192 /* 175 */       .long   sys_rt_sigprocmask
193                 .long   sys_rt_sigpending
194                 .long   sys_rt_sigtimedwait
195                 .long   sys_rt_sigqueueinfo
196                 .long   sys_rt_sigsuspend_wrapper
197 /* 180 */       .long   sys_pread64
198                 .long   sys_pwrite64
199                 .long   sys_chown16
200                 .long   sys_getcwd
201                 .long   sys_capget
202 /* 185 */       .long   sys_capset
203                 .long   sys_sigaltstack_wrapper
204                 .long   sys_sendfile
205                 .long   sys_ni_syscall
206                 .long   sys_ni_syscall
207 /* 190 */       .long   sys_vfork_wrapper
208                 .long   sys_getrlimit
209                 .long   sys_mmap2
210                 .long   sys_truncate64
211                 .long   sys_ftruncate64
212 /* 195 */       .long   sys_stat64
213                 .long   sys_lstat64
214                 .long   sys_fstat64
215                 .long   sys_lchown
216                 .long   sys_getuid
217 /* 200 */       .long   sys_getgid
218                 .long   sys_geteuid
219                 .long   sys_getegid
220                 .long   sys_setreuid
221                 .long   sys_setregid
222 /* 205 */       .long   sys_getgroups
223                 .long   sys_setgroups
224                 .long   sys_fchown
225                 .long   sys_setresuid
226                 .long   sys_getresuid
227 /* 210 */       .long   sys_setresgid
228                 .long   sys_getresgid
229                 .long   sys_chown
230                 .long   sys_setuid
231                 .long   sys_setgid
232 /* 215 */       .long   sys_setfsuid
233                 .long   sys_setfsgid
234                 .long   sys_getdents64
235                 .long   sys_pivot_root
236                 .long   sys_mincore
237 /* 220 */       .long   sys_madvise
238                 .long   sys_fcntl64
239                 .long   sys_ni_syscall /* TUX */
240                 .long   sys_ni_syscall
241                 .long   sys_gettid
242 /* 225 */       .long   sys_readahead
243                 .long   sys_setxattr
244                 .long   sys_lsetxattr
245                 .long   sys_fsetxattr
246                 .long   sys_getxattr
247 /* 230 */       .long   sys_lgetxattr
248                 .long   sys_fgetxattr
249                 .long   sys_listxattr
250                 .long   sys_llistxattr
251                 .long   sys_flistxattr
252 /* 235 */       .long   sys_removexattr
253                 .long   sys_lremovexattr
254                 .long   sys_fremovexattr
255                 .long   sys_tkill
256                 .long   sys_sendfile64
257 /* 240 */       .long   sys_futex
258                 .long   sys_sched_setaffinity
259                 .long   sys_sched_getaffinity
260                 .long   sys_io_setup
261                 .long   sys_io_destroy
262 /* 245 */       .long   sys_io_getevents
263                 .long   sys_io_submit
264                 .long   sys_io_cancel
265                 .long   sys_exit_group
266                 .long   sys_lookup_dcookie
267 /* 250 */       .long   sys_epoll_create
268                 .long   sys_epoll_ctl
269                 .long   sys_epoll_wait
270                 .long   sys_remap_file_pages
271                 .long   sys_ni_syscall  /* sys_set_thread_area */
272 /* 255 */       .long   sys_ni_syscall  /* sys_get_thread_area */
273                 .long   sys_set_tid_address
274                 .long   sys_timer_create
275                 .long   sys_timer_settime
276                 .long   sys_timer_gettime
277 /* 260 */       .long   sys_timer_getoverrun
278                 .long   sys_timer_delete
279                 .long   sys_clock_settime
280                 .long   sys_clock_gettime
281                 .long   sys_clock_getres
282 /* 265 */       .long   sys_clock_nanosleep
283                 .long   sys_statfs64
284                 .long   sys_fstatfs64
285                 .long   sys_tgkill
286                 .long   sys_utimes
287 /* 270 */       .long   sys_arm_fadvise64_64
288                 .long   sys_pciconfig_iobase
289                 .long   sys_pciconfig_read
290                 .long   sys_pciconfig_write
291                 .long   sys_mq_open
292 /* 275 */       .long   sys_mq_unlink
293                 .long   sys_mq_timedsend
294                 .long   sys_mq_timedreceive
295                 .long   sys_mq_notify
296                 .long   sys_mq_getsetattr
297 /* 280 */       .long   sys_waitid
298                 .long   sys_socket
299                 .long   sys_bind
300                 .long   sys_connect
301                 .long   sys_listen
302 /* 285 */       .long   sys_accept
303                 .long   sys_getsockname
304                 .long   sys_getpeername
305                 .long   sys_socketpair
306                 .long   sys_send
307 /* 290 */       .long   sys_sendto
308                 .long   sys_recv
309                 .long   sys_recvfrom
310                 .long   sys_shutdown
311                 .long   sys_setsockopt
312 /* 295 */       .long   sys_getsockopt
313                 .long   sys_sendmsg
314                 .long   sys_recvmsg
315                 .long   sys_semop
316                 .long   sys_semget
317 /* 300 */       .long   sys_semctl
318                 .long   sys_msgsnd
319                 .long   sys_msgrcv
320                 .long   sys_msgget
321                 .long   sys_msgctl
322 /* 305 */       .long   sys_shmat
323                 .long   sys_shmdt
324                 .long   sys_shmget
325                 .long   sys_shmctl
326                 .long   sys_add_key
327 /* 310 */       .long   sys_request_key
328                 .long   sys_keyctl
329                 .long   sys_semtimedop
330 /* vserver */   .long   sys_ni_syscall
331                 .long   sys_ioprio_set
332 /* 315 */       .long   sys_ioprio_get
333                 .long   sys_inotify_init
334                 .long   sys_inotify_add_watch
335                 .long   sys_inotify_rm_watch
336                 .long   sys_mbind
337 /* 320 */       .long   sys_get_mempolicy
338                 .long   sys_set_mempolicy
339 __syscall_end:
340
341                 .rept   NR_syscalls - (__syscall_end - __syscall_start) / 4
342                         .long   sys_ni_syscall
343                 .endr
344 #endif