浏览代码

[IA64] inotify: ia64 syscalls.

Attached patch adds the inotify syscalls to ia64.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Robert Love 20 年之前
父节点
当前提交
d108919b2b
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 3 3
      arch/ia64/kernel/entry.S
  2. 3 0
      include/asm-ia64/unistd.h

+ 3 - 3
arch/ia64/kernel/entry.S

@@ -1574,8 +1574,8 @@ sys_call_table:
 	data8 sys_ioprio_set
 	data8 sys_ioprio_get			// 1275
 	data8 sys_set_zone_reclaim
-	data8 sys_ni_syscall
-	data8 sys_ni_syscall
-	data8 sys_ni_syscall
+	data8 sys_inotify_init
+	data8 sys_inotify_add_watch
+	data8 sys_inotify_rm_watch
 
 	.org sys_call_table + 8*NR_syscalls	// guard against failures to increase NR_syscalls

+ 3 - 0
include/asm-ia64/unistd.h

@@ -266,6 +266,9 @@
 #define __NR_ioprio_set			1274
 #define __NR_ioprio_get			1275
 #define __NR_set_zone_reclaim		1276
+#define __NR_inotify_init		1277
+#define __NR_inotify_add_watch		1278
+#define __NR_inotify_rm_watch		1279
 
 #ifdef __KERNEL__