aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh64
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 /include/asm-sh64
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 'include/asm-sh64')
-rw-r--r--include/asm-sh64/unistd.h43
1 files changed, 37 insertions, 6 deletions
diff --git a/include/asm-sh64/unistd.h b/include/asm-sh64/unistd.h
index 1f38a7aacaaf..ea3adc600b41 100644
--- a/include/asm-sh64/unistd.h
+++ b/include/asm-sh64/unistd.h
@@ -9,14 +9,14 @@
9 * include/asm-sh64/unistd.h 9 * include/asm-sh64/unistd.h
10 * 10 *
11 * Copyright (C) 2000, 2001 Paolo Alberelli 11 * Copyright (C) 2000, 2001 Paolo Alberelli
12 * Copyright (C) 2003 Paul Mundt 12 * Copyright (C) 2003 - 2007 Paul Mundt
13 * Copyright (C) 2004 Sean McGoogan 13 * Copyright (C) 2004 Sean McGoogan
14 * 14 *
15 * This file contains the system call numbers. 15 * This file contains the system call numbers.
16 * 16 *
17 */ 17 */
18 18
19#define __NR_setup 0 /* used only by init, to get system going */ 19#define __NR_restart_syscall 0
20#define __NR_exit 1 20#define __NR_exit 1
21#define __NR_fork 2 21#define __NR_fork 2
22#define __NR_read 3 22#define __NR_read 3
@@ -196,8 +196,8 @@
196#define __NR_rt_sigtimedwait 177 196#define __NR_rt_sigtimedwait 177
197#define __NR_rt_sigqueueinfo 178 197#define __NR_rt_sigqueueinfo 178
198#define __NR_rt_sigsuspend 179 198#define __NR_rt_sigsuspend 179
199#define __NR_pread 180 199#define __NR_pread64 180
200#define __NR_pwrite 181 200#define __NR_pwrite64 181
201#define __NR_chown 182 201#define __NR_chown 182
202#define __NR_getcwd 183 202#define __NR_getcwd 183
203#define __NR_capget 184 203#define __NR_capget 184
@@ -343,10 +343,41 @@
343#define __NR_inotify_init 318 343#define __NR_inotify_init 318
344#define __NR_inotify_add_watch 319 344#define __NR_inotify_add_watch 319
345#define __NR_inotify_rm_watch 320 345#define __NR_inotify_rm_watch 320
346/* 321 is unused */
347#define __NR_migrate_pages 322
348#define __NR_openat 323
349#define __NR_mkdirat 324
350#define __NR_mknodat 325
351#define __NR_fchownat 326
352#define __NR_futimesat 327
353#define __NR_fstatat64 328
354#define __NR_unlinkat 329
355#define __NR_renameat 330
356#define __NR_linkat 331
357#define __NR_symlinkat 332
358#define __NR_readlinkat 333
359#define __NR_fchmodat 334
360#define __NR_faccessat 335
361#define __NR_pselect6 336
362#define __NR_ppoll 337
363#define __NR_unshare 338
364#define __NR_set_robust_list 339
365#define __NR_get_robust_list 340
366#define __NR_splice 341
367#define __NR_sync_file_range 342
368#define __NR_tee 343
369#define __NR_vmsplice 344
370#define __NR_move_pages 345
371#define __NR_getcpu 346
372#define __NR_epoll_pwait 347
373#define __NR_utimensat 348
374#define __NR_signalfd 349
375#define __NR_timerfd 350
376#define __NR_eventfd 351
346 377
347#ifdef __KERNEL__ 378#ifdef __KERNEL__
348 379
349#define NR_syscalls 321 380#define NR_syscalls 352
350 381
351#define __ARCH_WANT_IPC_PARSE_VERSION 382#define __ARCH_WANT_IPC_PARSE_VERSION
352#define __ARCH_WANT_OLD_READDIR 383#define __ARCH_WANT_OLD_READDIR