[PATCH] ppc32: inotify syscalls
authorRobert Love <rml@novell.com>
Sat, 30 Jul 2005 05:59:16 +0000 (22:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 30 Jul 2005 17:14:46 +0000 (10:14 -0700)
Add inotify system call stubs to PPC32.

Signed-off-by: Robert Love <rml@novell.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/misc.S
include/asm-ppc/unistd.h

index 191a8def3bdba1c9b7739cbde931322838daaf0c..c2fb85b49a11ae1a1f2f319478d96dffbdbee1f7 100644 (file)
@@ -1451,3 +1451,6 @@ _GLOBAL(sys_call_table)
        .long sys_waitid
        .long sys_ioprio_set
        .long sys_ioprio_get
+       .long sys_inotify_init          /* 275 */
+       .long sys_inotify_add_watch
+       .long sys_inotify_rm_watch
index a7894e0fbbb1a8d1e7f7719a2b7d4fda940ef263..3173ab3d2eb9a477af7b308db22ce82b0d3d0421 100644 (file)
 #define __NR_waitid            272
 #define __NR_ioprio_set                273
 #define __NR_ioprio_get                274
+#define __NR_inotify_init      275
+#define __NR_inotify_add_watch 276
+#define __NR_inotify_rm_watch  277
 
-#define __NR_syscalls          275
+#define __NR_syscalls          278
 
 #define __NR(n)        #n