[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 191a8de..c2fb85b 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 a7894e0..3173ab3 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