浏览代码

[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>
Geert Uytterhoeven 18 年之前
父节点
当前提交
6aabd6af4a
共有 2 个文件被更改,包括 11 次插入1 次删除
  1. 5 0
      arch/m68k/kernel/entry.S
  2. 6 1
      include/asm-m68k/unistd.h

+ 5 - 0
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
 

+ 6 - 1
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