From: JANAK DESAI Registers system call for the powerpc architecture. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Benjamin Herrenschmidt Cc: Paul Mackerras 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 --- devel/arch/powerpc/kernel/systbl.S~unshare-system-call-v5-system-call-registration-for-powerpc 2006-01-18 13:48:05.000000000 -0800 +++ devel-akpm/arch/powerpc/kernel/systbl.S 2006-01-18 13:48:05.000000000 -0800 @@ -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 --- devel/arch/ppc/kernel/misc.S~unshare-system-call-v5-system-call-registration-for-powerpc 2006-01-18 13:48:05.000000000 -0800 +++ devel-akpm/arch/ppc/kernel/misc.S 2006-01-18 13:48:05.000000000 -0800 @@ -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 --- devel/include/asm-powerpc/unistd.h~unshare-system-call-v5-system-call-registration-for-powerpc 2006-01-18 13:48:05.000000000 -0800 +++ devel-akpm/include/asm-powerpc/unistd.h 2006-01-18 13:48:05.000000000 -0800 @@ -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 _