aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2006-10-09 16:02:31 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-09 17:53:35 -0400
commit6fb8296aa1681e74b2aa3c59169d9014e6a0dfc3 (patch)
tree515011e8823c4de5d14be81f8d76f8d06041538c
parent6aabd6af4aaf6d794f67226934ad731eb1765e5d (diff)
[PATCH] m68k: more syscall updates
Add missing syscalls Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/m68k/kernel/entry.S24
-rw-r--r--include/asm-m68k/unistd.h26
2 files changed, 49 insertions, 1 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
index 03375414eb56..222ce4244564 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -711,4 +711,28 @@ sys_call_table:
711 .long sys_inotify_init 711 .long sys_inotify_init
712 .long sys_inotify_add_watch /* 285 */ 712 .long sys_inotify_add_watch /* 285 */
713 .long sys_inotify_rm_watch 713 .long sys_inotify_rm_watch
714 .long sys_migrate_pages
715 .long sys_openat
716 .long sys_mkdirat
717 .long sys_mknodat /* 290 */
718 .long sys_fchownat
719 .long sys_futimesat
720 .long sys_fstatat64
721 .long sys_unlinkat
722 .long sys_renameat /* 295 */
723 .long sys_linkat
724 .long sys_symlinkat
725 .long sys_readlinkat
726 .long sys_fchmodat
727 .long sys_faccessat /* 300 */
728 .long sys_ni_syscall /* Reserved for pselect6 */
729 .long sys_ni_syscall /* Reserved for ppoll */
730 .long sys_unshare
731 .long sys_set_robust_list
732 .long sys_get_robust_list /* 305 */
733 .long sys_splice
734 .long sys_sync_file_range
735 .long sys_tee
736 .long sys_vmsplice
737 .long sys_move_pages /* 310 */
714 738
diff --git a/include/asm-m68k/unistd.h b/include/asm-m68k/unistd.h
index 682bd2fb591d..ad4348058c66 100644
--- a/include/asm-m68k/unistd.h
+++ b/include/asm-m68k/unistd.h
@@ -289,10 +289,34 @@
289#define __NR_inotify_init 284 289#define __NR_inotify_init 284
290#define __NR_inotify_add_watch 285 290#define __NR_inotify_add_watch 285
291#define __NR_inotify_rm_watch 286 291#define __NR_inotify_rm_watch 286
292#define __NR_migrate_pages 287
293#define __NR_openat 288
294#define __NR_mkdirat 289
295#define __NR_mknodat 290
296#define __NR_fchownat 291
297#define __NR_futimesat 292
298#define __NR_fstatat64 293
299#define __NR_unlinkat 294
300#define __NR_renameat 295
301#define __NR_linkat 296
302#define __NR_symlinkat 297
303#define __NR_readlinkat 298
304#define __NR_fchmodat 299
305#define __NR_faccessat 300
306#define __NR_pselect6 301
307#define __NR_ppoll 302
308#define __NR_unshare 303
309#define __NR_set_robust_list 304
310#define __NR_get_robust_list 305
311#define __NR_splice 306
312#define __NR_sync_file_range 307
313#define __NR_tee 308
314#define __NR_vmsplice 309
315#define __NR_move_pages 310
292 316
293#ifdef __KERNEL__ 317#ifdef __KERNEL__
294 318
295#define NR_syscalls 287 319#define NR_syscalls 311
296#include <linux/err.h> 320#include <linux/err.h>
297 321
298/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see 322/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see