aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2007-05-11 01:22:23 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 11:29:33 -0400
commit44316634460a6b368ad3160da6cba3b4725a1433 (patch)
tree35ee3fe1c7f0d7015e1be70542cc9635d34b3cad /arch
parent0a9d6e7cb0d1e5acc61d481d7a1ea25c294c3dff (diff)
h8300 syscall update
h8300 systemcall entry table update. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/h8300/kernel/syscalls.S78
1 files changed, 52 insertions, 26 deletions
diff --git a/arch/h8300/kernel/syscalls.S b/arch/h8300/kernel/syscalls.S
index dab98fd99e63..54e21c3f2057 100644
--- a/arch/h8300/kernel/syscalls.S
+++ b/arch/h8300/kernel/syscalls.S
@@ -31,7 +31,7 @@ SYMBOL_NAME_LABEL(sys_call_table)
31 .long SYMBOL_NAME(sys_mknod) 31 .long SYMBOL_NAME(sys_mknod)
32 .long SYMBOL_NAME(sys_chmod) /* 15 */ 32 .long SYMBOL_NAME(sys_chmod) /* 15 */
33 .long SYMBOL_NAME(sys_chown16) 33 .long SYMBOL_NAME(sys_chown16)
34 .long SYMBOL_NAME(sys_ni_syscall) /* old break syscall holder */ 34 .long SYMBOL_NAME(sys_ni_syscall) /* old break syscall holder */
35 .long SYMBOL_NAME(sys_stat) 35 .long SYMBOL_NAME(sys_stat)
36 .long SYMBOL_NAME(sys_lseek) 36 .long SYMBOL_NAME(sys_lseek)
37 .long SYMBOL_NAME(sys_getpid) /* 20 */ 37 .long SYMBOL_NAME(sys_getpid) /* 20 */
@@ -45,11 +45,11 @@ SYMBOL_NAME_LABEL(sys_call_table)
45 .long SYMBOL_NAME(sys_fstat) 45 .long SYMBOL_NAME(sys_fstat)
46 .long SYMBOL_NAME(sys_pause) 46 .long SYMBOL_NAME(sys_pause)
47 .long SYMBOL_NAME(sys_utime) /* 30 */ 47 .long SYMBOL_NAME(sys_utime) /* 30 */
48 .long SYMBOL_NAME(sys_ni_syscall) /* old stty syscall holder */ 48 .long SYMBOL_NAME(sys_ni_syscall) /* old stty syscall holder */
49 .long SYMBOL_NAME(sys_ni_syscall) /* old gtty syscall holder */ 49 .long SYMBOL_NAME(sys_ni_syscall) /* old gtty syscall holder */
50 .long SYMBOL_NAME(sys_access) 50 .long SYMBOL_NAME(sys_access)
51 .long SYMBOL_NAME(sys_nice) 51 .long SYMBOL_NAME(sys_nice)
52 .long SYMBOL_NAME(sys_ni_syscall) /* 35 */ /* old ftime syscall holder */ 52 .long SYMBOL_NAME(sys_ni_syscall) /* 35 old ftime syscall holder */
53 .long SYMBOL_NAME(sys_sync) 53 .long SYMBOL_NAME(sys_sync)
54 .long SYMBOL_NAME(sys_kill) 54 .long SYMBOL_NAME(sys_kill)
55 .long SYMBOL_NAME(sys_rename) 55 .long SYMBOL_NAME(sys_rename)
@@ -58,7 +58,7 @@ SYMBOL_NAME_LABEL(sys_call_table)
58 .long SYMBOL_NAME(sys_dup) 58 .long SYMBOL_NAME(sys_dup)
59 .long SYMBOL_NAME(sys_pipe) 59 .long SYMBOL_NAME(sys_pipe)
60 .long SYMBOL_NAME(sys_times) 60 .long SYMBOL_NAME(sys_times)
61 .long SYMBOL_NAME(sys_ni_syscall) /* old prof syscall holder */ 61 .long SYMBOL_NAME(sys_ni_syscall) /* old prof syscall holder */
62 .long SYMBOL_NAME(sys_brk) /* 45 */ 62 .long SYMBOL_NAME(sys_brk) /* 45 */
63 .long SYMBOL_NAME(sys_setgid16) 63 .long SYMBOL_NAME(sys_setgid16)
64 .long SYMBOL_NAME(sys_getgid16) 64 .long SYMBOL_NAME(sys_getgid16)
@@ -66,13 +66,13 @@ SYMBOL_NAME_LABEL(sys_call_table)
66 .long SYMBOL_NAME(sys_geteuid16) 66 .long SYMBOL_NAME(sys_geteuid16)
67 .long SYMBOL_NAME(sys_getegid16) /* 50 */ 67 .long SYMBOL_NAME(sys_getegid16) /* 50 */
68 .long SYMBOL_NAME(sys_acct) 68 .long SYMBOL_NAME(sys_acct)
69 .long SYMBOL_NAME(sys_umount) /* recycled never used phys() */ 69 .long SYMBOL_NAME(sys_umount) /* recycled never used phys() */
70 .long SYMBOL_NAME(sys_ni_syscall) /* old lock syscall holder */ 70 .long SYMBOL_NAME(sys_ni_syscall) /* old lock syscall holder */
71 .long SYMBOL_NAME(sys_ioctl) 71 .long SYMBOL_NAME(sys_ioctl)
72 .long SYMBOL_NAME(sys_fcntl) /* 55 */ 72 .long SYMBOL_NAME(sys_fcntl) /* 55 */
73 .long SYMBOL_NAME(sys_ni_syscall) /* old mpx syscall holder */ 73 .long SYMBOL_NAME(sys_ni_syscall) /* old mpx syscall holder */
74 .long SYMBOL_NAME(sys_setpgid) 74 .long SYMBOL_NAME(sys_setpgid)
75 .long SYMBOL_NAME(sys_ni_syscall) /* old ulimit syscall holder */ 75 .long SYMBOL_NAME(sys_ni_syscall) /* old ulimit syscall holder */
76 .long SYMBOL_NAME(sys_ni_syscall) 76 .long SYMBOL_NAME(sys_ni_syscall)
77 .long SYMBOL_NAME(sys_umask) /* 60 */ 77 .long SYMBOL_NAME(sys_umask) /* 60 */
78 .long SYMBOL_NAME(sys_chroot) 78 .long SYMBOL_NAME(sys_chroot)
@@ -112,7 +112,7 @@ SYMBOL_NAME_LABEL(sys_call_table)
112 .long SYMBOL_NAME(sys_fchown16) /* 95 */ 112 .long SYMBOL_NAME(sys_fchown16) /* 95 */
113 .long SYMBOL_NAME(sys_getpriority) 113 .long SYMBOL_NAME(sys_getpriority)
114 .long SYMBOL_NAME(sys_setpriority) 114 .long SYMBOL_NAME(sys_setpriority)
115 .long SYMBOL_NAME(sys_ni_syscall) /* old profil syscall holder */ 115 .long SYMBOL_NAME(sys_ni_syscall) /* old profil syscall holder */
116 .long SYMBOL_NAME(sys_statfs) 116 .long SYMBOL_NAME(sys_statfs)
117 .long SYMBOL_NAME(sys_fstatfs) /* 100 */ 117 .long SYMBOL_NAME(sys_fstatfs) /* 100 */
118 .long SYMBOL_NAME(sys_ni_syscall) /* ioperm for i386 */ 118 .long SYMBOL_NAME(sys_ni_syscall) /* ioperm for i386 */
@@ -202,8 +202,8 @@ SYMBOL_NAME_LABEL(sys_call_table)
202 .long SYMBOL_NAME(sys_capset) /* 185 */ 202 .long SYMBOL_NAME(sys_capset) /* 185 */
203 .long SYMBOL_NAME(sys_sigaltstack) 203 .long SYMBOL_NAME(sys_sigaltstack)
204 .long SYMBOL_NAME(sys_sendfile) 204 .long SYMBOL_NAME(sys_sendfile)
205 .long SYMBOL_NAME(sys_ni_syscall) /* streams1 */ 205 .long SYMBOL_NAME(sys_ni_syscall) /* streams1 */
206 .long SYMBOL_NAME(sys_ni_syscall) /* streams2 */ 206 .long SYMBOL_NAME(sys_ni_syscall) /* streams2 */
207 .long SYMBOL_NAME(sys_vfork) /* 190 */ 207 .long SYMBOL_NAME(sys_vfork) /* 190 */
208 .long SYMBOL_NAME(sys_getrlimit) 208 .long SYMBOL_NAME(sys_getrlimit)
209 .long SYMBOL_NAME(sys_mmap2) 209 .long SYMBOL_NAME(sys_mmap2)
@@ -236,10 +236,10 @@ SYMBOL_NAME_LABEL(sys_call_table)
236 .long SYMBOL_NAME(sys_ni_syscall) 236 .long SYMBOL_NAME(sys_ni_syscall)
237 .long SYMBOL_NAME(sys_getdents64) /* 220 */ 237 .long SYMBOL_NAME(sys_getdents64) /* 220 */
238 .long SYMBOL_NAME(sys_fcntl64) 238 .long SYMBOL_NAME(sys_fcntl64)
239 .long SYMBOL_NAME(sys_ni_syscall) /* reserved for TUX */ 239 .long SYMBOL_NAME(sys_ni_syscall) /* reserved TUX */
240 .long SYMBOL_NAME(sys_ni_syscall) 240 .long SYMBOL_NAME(sys_ni_syscall) /* reserved Security */
241 .long SYMBOL_NAME(sys_gettid) 241 .long SYMBOL_NAME(sys_gettid)
242 .long SYMBOL_NAME(sys_ni_syscall) /* 225 */ /* sys_readahead */ 242 .long SYMBOL_NAME(sys_readahead) /* 225 */
243 .long SYMBOL_NAME(sys_setxattr) 243 .long SYMBOL_NAME(sys_setxattr)
244 .long SYMBOL_NAME(sys_lsetxattr) 244 .long SYMBOL_NAME(sys_lsetxattr)
245 .long SYMBOL_NAME(sys_fsetxattr) 245 .long SYMBOL_NAME(sys_fsetxattr)
@@ -257,8 +257,8 @@ SYMBOL_NAME_LABEL(sys_call_table)
257 .long SYMBOL_NAME(sys_futex) /* 240 */ 257 .long SYMBOL_NAME(sys_futex) /* 240 */
258 .long SYMBOL_NAME(sys_sched_setaffinity) 258 .long SYMBOL_NAME(sys_sched_setaffinity)
259 .long SYMBOL_NAME(sys_sched_getaffinity) 259 .long SYMBOL_NAME(sys_sched_getaffinity)
260 .long SYMBOL_NAME(sys_ni_syscall) /* sys_set_thread_area */ 260 .long SYMBOL_NAME(sys_ni_syscall)
261 .long SYMBOL_NAME(sys_ni_syscall) /* sys_get_thread_area */ 261 .long SYMBOL_NAME(sys_ni_syscall)
262 .long SYMBOL_NAME(sys_io_setup) /* 245 */ 262 .long SYMBOL_NAME(sys_io_setup) /* 245 */
263 .long SYMBOL_NAME(sys_io_destroy) 263 .long SYMBOL_NAME(sys_io_destroy)
264 .long SYMBOL_NAME(sys_io_getevents) 264 .long SYMBOL_NAME(sys_io_getevents)
@@ -288,8 +288,8 @@ SYMBOL_NAME_LABEL(sys_call_table)
288 .long SYMBOL_NAME(sys_utimes) 288 .long SYMBOL_NAME(sys_utimes)
289 .long SYMBOL_NAME(sys_fadvise64_64) 289 .long SYMBOL_NAME(sys_fadvise64_64)
290 .long SYMBOL_NAME(sys_ni_syscall) /* sys_vserver */ 290 .long SYMBOL_NAME(sys_ni_syscall) /* sys_vserver */
291 .long SYMBOL_NAME(sys_mbind) 291 .long SYMBOL_NAME(sys_ni_syscall)
292 .long SYMBOL_NAME(sys_get_mempolicy) 292 .long SYMBOL_NAME(sys_get_mempolicy) /* 275 */
293 .long SYMBOL_NAME(sys_set_mempolicy) 293 .long SYMBOL_NAME(sys_set_mempolicy)
294 .long SYMBOL_NAME(sys_mq_open) 294 .long SYMBOL_NAME(sys_mq_open)
295 .long SYMBOL_NAME(sys_mq_unlink) 295 .long SYMBOL_NAME(sys_mq_unlink)
@@ -297,16 +297,42 @@ SYMBOL_NAME_LABEL(sys_call_table)
297 .long SYMBOL_NAME(sys_mq_timedreceive) /* 280 */ 297 .long SYMBOL_NAME(sys_mq_timedreceive) /* 280 */
298 .long SYMBOL_NAME(sys_mq_notify) 298 .long SYMBOL_NAME(sys_mq_notify)
299 .long SYMBOL_NAME(sys_mq_getsetattr) 299 .long SYMBOL_NAME(sys_mq_getsetattr)
300 .long SYMBOL_NAME(sys_ni_syscall) /* reserved for kexec */
301 .long SYMBOL_NAME(sys_waitid) 300 .long SYMBOL_NAME(sys_waitid)
302 .long SYMBOL_NAME(sys_ni_syscall) /* 285 */ /* available */ 301 .long SYMBOL_NAME(sys_ni_syscall) /* sys_kexec_load */
303 .long SYMBOL_NAME(sys_add_key) 302 .long SYMBOL_NAME(sys_add_key) /* 285 */
304 .long SYMBOL_NAME(sys_request_key) 303 .long SYMBOL_NAME(sys_request_key)
305 .long SYMBOL_NAME(sys_keyctl) 304 .long SYMBOL_NAME(sys_keyctl)
306 305 .long SYMBOL_NAME(sys_ioprio_set)
307 .rept NR_syscalls-(.-SYMBOL_NAME(sys_call_table))/4 306 .long SYMBOL_NAME(sys_ioprio_get) /* 290 */
308 .long SYMBOL_NAME(sys_ni_syscall) 307 .long SYMBOL_NAME(sys_inotify_init)
309 .endr 308 .long SYMBOL_NAME(sys_inotify_add_watch)
309 .long SYMBOL_NAME(sys_inotify_rm_watch)
310 .long SYMBOL_NAME(sys_migrate_pages)
311 .long SYMBOL_NAME(sys_openat) /* 295 */
312 .long SYMBOL_NAME(sys_mkdirat)
313 .long SYMBOL_NAME(sys_mknodat)
314 .long SYMBOL_NAME(sys_fchownat)
315 .long SYMBOL_NAME(sys_futimesat)
316 .long SYMBOL_NAME(sys_fstatat64) /* 300 */
317 .long SYMBOL_NAME(sys_unlinkat)
318 .long SYMBOL_NAME(sys_renameat)
319 .long SYMBOL_NAME(sys_linkat)
320 .long SYMBOL_NAME(sys_symlinkat)
321 .long SYMBOL_NAME(sys_readlinkat) /* 305 */
322 .long SYMBOL_NAME(sys_fchmodat)
323 .long SYMBOL_NAME(sys_faccessat)
324 .long SYMBOL_NAME(sys_ni_syscall) /* sys_pselect6 */
325 .long SYMBOL_NAME(sys_ni_syscall) /* sys_ppoll */
326 .long SYMBOL_NAME(sys_unshare) /* 310 */
327 .long SYMBOL_NAME(sys_set_robust_list)
328 .long SYMBOL_NAME(sys_get_robust_list)
329 .long SYMBOL_NAME(sys_splice)
330 .long SYMBOL_NAME(sys_sync_file_range)
331 .long SYMBOL_NAME(sys_tee) /* 315 */
332 .long SYMBOL_NAME(sys_vmsplice)
333 .long SYMBOL_NAME(sys_ni_syscall) /* sys_move_pages */
334 .long SYMBOL_NAME(sys_getcpu)
335 .long SYMBOL_NAME(sys_ni_syscall) /* sys_epoll_pwait */
310 336
311 .macro call_sp addr 337 .macro call_sp addr
312 mov.l #SYMBOL_NAME(\addr),er6 338 mov.l #SYMBOL_NAME(\addr),er6