Messages in this thread |  | | | Date | Wed, 27 Jul 2005 09:55:39 -0700 | | From | Andrew Morton <> | | Subject | Re: [patch] inotify: ppc32 syscalls. |
| |
Robert Love <rml@novell.com> wrote: > > Hey, Paulus, > > Add inotify system call stubs to PPC32. >
ppc64 likes to keep its 32-bit-syscall table in sync with ppc32 so it'd be best to do ppc64 while we're at it (both sys_call_table and sys_call_table32)
> > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |