[patch] inotify: ppc32 syscalls.

From: Robert Love
Date: Wed Jul 27 2005 - 10:52:19 EST


Hey, Paulus,

Add inotify system call stubs to PPC32.

Signed-off-by: Robert Love <rml@xxxxxxxxxx>

arch/ppc/kernel/misc.S | 3 +++
include/asm-ppc/unistd.h | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff -urN linux-2.6.13-rc3-git8/arch/ppc/kernel/misc.S linux/arch/ppc/kernel/misc.S
--- linux-2.6.13-rc3-git8/arch/ppc/kernel/misc.S 2005-07-27 10:59:31.000000000 -0400
+++ linux/arch/ppc/kernel/misc.S 2005-07-27 11:25:43.000000000 -0400
@@ -1451,3 +1451,6 @@
.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
diff -urN linux-2.6.13-rc3-git8/include/asm-ppc/unistd.h linux/include/asm-ppc/unistd.h
--- linux-2.6.13-rc3-git8/include/asm-ppc/unistd.h 2005-07-27 10:59:32.000000000 -0400
+++ linux/include/asm-ppc/unistd.h 2005-07-27 11:25:26.000000000 -0400
@@ -279,8 +279,11 @@
#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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/