2005-12-13 22:56:04

by Janak Desai

[permalink] [raw]
Subject: [PATCH -mm 3/9] unshare system call: system call registration for powerpc


[PATCH -mm 3/9] unshare system call: system call registration for powerpc

Registers system call for the powerpc architecture.

Changes since the first submission of this patch on 12/12/05:
None.

Signed-off-by: Janak Desai <[email protected]>

---

arch/powerpc/kernel/systbl.S | 1 +
include/asm-powerpc/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff -Naurp 2.6.15-rc5-mm2/arch/powerpc/kernel/systbl.S 2.6.15-rc5-mm2+powerpc/arch/powerpc/kernel/systbl.S
--- 2.6.15-rc5-mm2/arch/powerpc/kernel/systbl.S 2005-12-12 03:05:39.000000000 +0000
+++ 2.6.15-rc5-mm2+powerpc/arch/powerpc/kernel/systbl.S 2005-12-12 20:15:54.000000000 +0000
@@ -322,3 +322,4 @@ SYSCALL(inotify_rm_watch)
SYSCALL(spu_run)
SYSCALL(spu_create)
SYSCALL(migrate_pages)
+SYSCALL(unshare)
diff -Naurp 2.6.15-rc5-mm2/include/asm-powerpc/unistd.h 2.6.15-rc5-mm2+powerpc/include/asm-powerpc/unistd.h
--- 2.6.15-rc5-mm2/include/asm-powerpc/unistd.h 2005-12-12 03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+powerpc/include/asm-powerpc/unistd.h 2005-12-12 20:18:03.000000000 +0000
@@ -299,8 +299,9 @@
#define __NR_spu_run 278
#define __NR_spu_create 279
#define __NR_migrate_pages 280
+#define __NR_unshare 281

-#define __NR_syscalls 281
+#define __NR_syscalls 282

#ifdef __KERNEL__
#define __NR__exit __NR_exit