summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2006-10-09 22:02:25 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-09 14:53:35 -0700
commit6aabd6af4aaf6d794f67226934ad731eb1765e5d (patch)
tree374d9271a2ba17f6cf3557a75792821431aed15a
parentd3696cf7370583b272ff2f09524c9d37a83c71b2 (diff)
downloadlinux-stable-6aabd6af4aaf6d794f67226934ad731eb1765e5d.tar.gz
linux-stable-6aabd6af4aaf6d794f67226934ad731eb1765e5d.tar.bz2
linux-stable-6aabd6af4aaf6d794f67226934ad731eb1765e5d.zip
[PATCH] m68k: syscall updates
Add some missing system calls (recent udev needs them) Signed-off-by: Kars de Jong <jongk@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/m68k/kernel/entry.S5
-rw-r--r--include/asm-m68k/unistd.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
index 34bf7bd126d2..03375414eb56 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -706,4 +706,9 @@ sys_call_table:
.long sys_add_key
.long sys_request_key /* 280 */
.long sys_keyctl
+ .long sys_ioprio_set
+ .long sys_ioprio_get
+ .long sys_inotify_init
+ .long sys_inotify_add_watch /* 285 */
+ .long sys_inotify_rm_watch
diff --git a/include/asm-m68k/unistd.h b/include/asm-m68k/unistd.h
index 3ab716f0fc18..682bd2fb591d 100644
--- a/include/asm-m68k/unistd.h
+++ b/include/asm-m68k/unistd.h
@@ -284,10 +284,15 @@
#define __NR_add_key 279
#define __NR_request_key 280
#define __NR_keyctl 281
+#define __NR_ioprio_set 282
+#define __NR_ioprio_get 283
+#define __NR_inotify_init 284
+#define __NR_inotify_add_watch 285
+#define __NR_inotify_rm_watch 286
#ifdef __KERNEL__
-#define NR_syscalls 282
+#define NR_syscalls 287
#include <linux/err.h>
/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see