aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-13 20:07:27 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-05-13 20:07:27 -0400
commit6b5d1a0a2ff4fc5a26029f62eef033224ce0fa97 (patch)
treeef91d76f80079e609213a46c34026970f8f2b77e /arch
parent0a354775af0d3e84158ff87115bdb022b2a517ee (diff)
sh64: Wire up many new syscalls.
This has suffered a bit of bitrot, so we're a bit behind on the syscalls. There were a few that were wrapped incorrectly as well, caught by the syscall checker. Fix them all up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh64/kernel/syscalls.S36
1 files changed, 33 insertions, 3 deletions
diff --git a/arch/sh64/kernel/syscalls.S b/arch/sh64/kernel/syscalls.S
index c0079d54c850..a5c680d29384 100644
--- a/arch/sh64/kernel/syscalls.S
+++ b/arch/sh64/kernel/syscalls.S
@@ -2,7 +2,7 @@
2 * arch/sh64/kernel/syscalls.S 2 * arch/sh64/kernel/syscalls.S
3 * 3 *
4 * Copyright (C) 2000, 2001 Paolo Alberelli 4 * Copyright (C) 2000, 2001 Paolo Alberelli
5 * Copyright (C) 2004 Paul Mundt 5 * Copyright (C) 2004 - 2007 Paul Mundt
6 * Copyright (C) 2003, 2004 Richard Curnow 6 * Copyright (C) 2003, 2004 Richard Curnow
7 * 7 *
8 * This file is subject to the terms and conditions of the GNU General Public 8 * This file is subject to the terms and conditions of the GNU General Public
@@ -20,7 +20,7 @@
20 */ 20 */
21 .globl sys_call_table 21 .globl sys_call_table
22sys_call_table: 22sys_call_table:
23 .long sys_ni_syscall /* 0 - old "setup()" system call */ 23 .long sys_restart_syscall /* 0 - old "setup()" system call */
24 .long sys_exit 24 .long sys_exit
25 .long sys_fork 25 .long sys_fork
26 .long sys_read 26 .long sys_read
@@ -347,4 +347,34 @@ sys_call_table:
347 .long sys_inotify_init 347 .long sys_inotify_init
348 .long sys_inotify_add_watch 348 .long sys_inotify_add_watch
349 .long sys_inotify_rm_watch /* 320 */ 349 .long sys_inotify_rm_watch /* 320 */
350 350 .long sys_ni_syscall
351 .long sys_migrate_pages
352 .long sys_openat
353 .long sys_mkdirat
354 .long sys_mknodat /* 325 */
355 .long sys_fchownat
356 .long sys_futimesat
357 .long sys_fstatat64
358 .long sys_unlinkat
359 .long sys_renameat /* 330 */
360 .long sys_linkat
361 .long sys_symlinkat
362 .long sys_readlinkat
363 .long sys_fchmodat
364 .long sys_faccessat /* 335 */
365 .long sys_pselect6
366 .long sys_ppoll
367 .long sys_unshare
368 .long sys_set_robust_list
369 .long sys_get_robust_list /* 340 */
370 .long sys_splice
371 .long sys_sync_file_range
372 .long sys_tee
373 .long sys_vmsplice
374 .long sys_move_pages /* 345 */
375 .long sys_getcpu
376 .long sys_epoll_pwait
377 .long sys_utimensat
378 .long sys_signalfd
379 .long sys_timerfd /* 350 */
380 .long sys_eventfd