diff options
| author | JANAK DESAI <janak@us.ibm.com> | 2006-02-07 15:59:11 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-02-10 00:34:54 -0500 |
| commit | b37ce281d729181b9862c4e3e112f9b5eea74ac9 (patch) | |
| tree | ec24d9924be3280fd362de6a23a85fe42b2d35b6 | |
| parent | 8568daa49063fd84b52b9e22b4e2422417b4d483 (diff) | |
[PATCH] powerpc: unshare system call registration
Registers system call for the powerpc architecture.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
| -rw-r--r-- | arch/powerpc/kernel/systbl.S | 1 | ||||
| -rw-r--r-- | include/asm-powerpc/unistd.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.S index 55b9fc10694e..8a9f994ed917 100644 --- a/arch/powerpc/kernel/systbl.S +++ b/arch/powerpc/kernel/systbl.S | |||
| @@ -321,3 +321,4 @@ SYSCALL(spu_run) | |||
| 321 | SYSCALL(spu_create) | 321 | SYSCALL(spu_create) |
| 322 | COMPAT_SYS(pselect6) | 322 | COMPAT_SYS(pselect6) |
| 323 | COMPAT_SYS(ppoll) | 323 | COMPAT_SYS(ppoll) |
| 324 | SYSCALL(unshare) | ||
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h index a40cdff21a88..35556993f066 100644 --- a/include/asm-powerpc/unistd.h +++ b/include/asm-powerpc/unistd.h | |||
| @@ -300,8 +300,9 @@ | |||
| 300 | #define __NR_spu_create 279 | 300 | #define __NR_spu_create 279 |
| 301 | #define __NR_pselect6 280 | 301 | #define __NR_pselect6 280 |
| 302 | #define __NR_ppoll 281 | 302 | #define __NR_ppoll 281 |
| 303 | #define __NR_unshare 282 | ||
| 303 | 304 | ||
| 304 | #define __NR_syscalls 282 | 305 | #define __NR_syscalls 283 |
| 305 | 306 | ||
| 306 | #ifdef __KERNEL__ | 307 | #ifdef __KERNEL__ |
| 307 | #define __NR__exit __NR_exit | 308 | #define __NR__exit __NR_exit |
