summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/unistd.h
diff options
context:
space:
mode:
authorRobert Love2005-07-25 21:19:29 +0200
committerLinus Torvalds2005-07-26 22:37:22 +0200
commit725b38ab5401c73cedc1b1d913782fadcd0f624a (patch)
tree840ffe1bf560a391e88d93b2b6c49117e31aa185 /include/asm-x86_64/unistd.h
parent[PATCH] inotify: add missing hook to sys32_open (diff)
downloadkernel-qcow2-linux-725b38ab5401c73cedc1b1d913782fadcd0f624a.tar.gz
kernel-qcow2-linux-725b38ab5401c73cedc1b1d913782fadcd0f624a.tar.xz
kernel-qcow2-linux-725b38ab5401c73cedc1b1d913782fadcd0f624a.zip
[PATCH] inotify: add x86-64 syscall entries
Add inotify syscall entries to x86-64. Signed-off-by: Robert Love <rml@novell.com> Signed-off-by: John McCutchan <ttb@tentacle.dhs.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/unistd.h')
-rw-r--r--include/asm-x86_64/unistd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h
index 6560439a83e4..11ba931cf82f 100644
--- a/include/asm-x86_64/unistd.h
+++ b/include/asm-x86_64/unistd.h
@@ -565,8 +565,14 @@ __SYSCALL(__NR_keyctl, sys_keyctl)
__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
#define __NR_ioprio_get 252
__SYSCALL(__NR_ioprio_get, sys_ioprio_get)
-
-#define __NR_syscall_max __NR_ioprio_get
+#define __NR_inotify_init 253
+__SYSCALL(__NR_inotify_init, sys_inotify_init)
+#define __NR_inotify_add_watch 254
+__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
+#define __NR_inotify_rm_watch 255
+__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
+
+#define __NR_syscall_max __NR_inotify_rm_watch
#ifndef __NO_STUBS
/* user-visible error numbers are in the range -1 - -4095 */