Browse Source

[PATCH] new alpha syscalls

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Richard Henderson 20 năm trước cách đây
mục cha
commit
41c018b7ec
2 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 5 0
      arch/alpha/kernel/systbls.S
  2. 6 1
      include/asm-alpha/unistd.h

+ 5 - 0
arch/alpha/kernel/systbls.S

@@ -461,6 +461,11 @@ sys_call_table:
 	.quad sys_add_key
 	.quad sys_request_key			/* 440 */
 	.quad sys_keyctl
+	.quad sys_ioprio_set
+	.quad sys_ioprio_get
+	.quad sys_inotify_init
+	.quad sys_inotify_add_watch		/* 445 */
+	.quad sys_inotify_rm_watch
 
 	.size sys_call_table, . - sys_call_table
 	.type sys_call_table, @object

+ 6 - 1
include/asm-alpha/unistd.h

@@ -377,8 +377,13 @@
 #define __NR_add_key			439
 #define __NR_request_key		440
 #define __NR_keyctl			441
+#define __NR_ioprio_set			442
+#define __NR_ioprio_get			443
+#define __NR_inotify_init		444
+#define __NR_inotify_add_watch		445
+#define __NR_inotify_rm_watch		446
 
-#define NR_SYSCALLS			442
+#define NR_SYSCALLS			447
 
 #if defined(__GNUC__)