From: JANAK DESAI Registers system call for the powerpc architecture. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Signed-off-by: Andrew Morton --- arch/powerpc/kernel/systbl.S | 1 + arch/ppc/kernel/misc.S | 1 + include/asm-powerpc/unistd.h | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff -puN arch/powerpc/kernel/systbl.S~unshare-system-call-v5-system-call-registration-for-powerpc arch/powerpc/kernel/systbl.S --- 25/arch/powerpc/kernel/systbl.S~unshare-system-call-v5-system-call-registration-for-powerpc Tue Jan 17 16:24:48 2006 +++ 25-akpm/arch/powerpc/kernel/systbl.S Tue Jan 17 16:24:48 2006 @@ -323,3 +323,4 @@ SYSCALL(spu_run) SYSCALL(spu_create) COMPAT_SYS(pselect6) COMPAT_SYS(ppoll) +SYSCALL(unshare) diff -puN arch/ppc/kernel/misc.S~unshare-system-call-v5-system-call-registration-for-powerpc arch/ppc/kernel/misc.S --- 25/arch/ppc/kernel/misc.S~unshare-system-call-v5-system-call-registration-for-powerpc Tue Jan 17 16:24:48 2006 +++ 25-akpm/arch/ppc/kernel/misc.S Tue Jan 17 16:24:48 2006 @@ -1331,3 +1331,4 @@ _GLOBAL(sys_call_table) .long sys_inotify_init /* 275 */ .long sys_inotify_add_watch .long sys_inotify_rm_watch + .long sys_unshare diff -puN include/asm-powerpc/unistd.h~unshare-system-call-v5-system-call-registration-for-powerpc include/asm-powerpc/unistd.h --- 25/include/asm-powerpc/unistd.h~unshare-system-call-v5-system-call-registration-for-powerpc Tue Jan 17 16:24:48 2006 +++ 25-akpm/include/asm-powerpc/unistd.h Tue Jan 17 16:24:48 2006 @@ -300,8 +300,9 @@ #define __NR_spu_create 279 #define __NR_pselect6 280 #define __NR_ppoll 281 +#define __NR_unshare 282 -#define __NR_syscalls 282 +#define __NR_syscalls 283 #ifdef __KERNEL__ #define __NR__exit __NR_exit _