[PATCH -mm 3/5] unshare system call: System call registration for
powerpc
Signed-off-by: Janak Desai
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-mm1/arch/powerpc/kernel/systbl.S
2.6.15-rc5-mm1+unshare-powerpc/arch/powerpc/kernel/systbl.S
--- 2.6.15-rc5-mm1/arch/powerpc/kernel/systbl.S 2005-12-06
21:05:49.000000000 +0000
+++
2.6.15-rc5-mm1+unshare-powerpc/arch/powerpc/kernel/systbl.S 2005-12-08
19:12:56.000000000 +0000
@@ -319,3 +319,4 @@ COMPAT_SYS(ioprio_get)
SYSCALL(inotify_init)
SYSCALL(inotify_add_watch)
SYSCALL(inotify_rm_watch)
+SYSCALL(unshare)
diff -Naurp 2.6.15-rc5-mm1/include/asm-powerpc/unistd.h
2.6.15-rc5-mm1+unshare-powerpc/include/asm-powerpc/unistd.h
--- 2.6.15-rc5-mm1/include/asm-powerpc/unistd.h 2005-12-06
21:06:19.000000000 +0000
+++
2.6.15-rc5-mm1+unshare-powerpc/include/asm-powerpc/unistd.h 2005-12-08
19:11:21.000000000 +0000
@@ -296,8 +296,9 @@
#define __NR_inotify_init 275
#define __NR_inotify_add_watch 276
#define __NR_inotify_rm_watch 277
+#define __NR_unshare 278
-#define __NR_syscalls 278
+#define __NR_syscalls 279
#ifdef __KERNEL__
#define __NR__exit __NR_exit
JANAK DESAI writes:
> --- 2.6.15-rc5-mm1/include/asm-powerpc/unistd.h 2005-12-06
> 21:06:19.000000000 +0000
> +++
> 2.6.15-rc5-mm1+unshare-powerpc/include/asm-powerpc/unistd.h 2005-12-08
> 19:11:21.000000000 +0000
> @@ -296,8 +296,9 @@
> #define __NR_inotify_init 275
> #define __NR_inotify_add_watch 276
> #define __NR_inotify_rm_watch 277
> +#define __NR_unshare 278
How does this apply against 2.6.15-rc5-mm1, which adds spu_run and
spu_create as syscalls 278 and 279?
Paul.
Sorry, I messed up. I created this against 2.6.15-rc5 and not rc5-mm1. I
will do a new
build, unit test and post updated patches tomorrow.
-Janak
Paul Mackerras wrote:
>JANAK DESAI writes:
>
>
>
>>--- 2.6.15-rc5-mm1/include/asm-powerpc/unistd.h 2005-12-06
>>21:06:19.000000000 +0000
>>+++
>>2.6.15-rc5-mm1+unshare-powerpc/include/asm-powerpc/unistd.h 2005-12-08
>>19:11:21.000000000 +0000
>>@@ -296,8 +296,9 @@
>> #define __NR_inotify_init 275
>> #define __NR_inotify_add_watch 276
>> #define __NR_inotify_rm_watch 277
>>+#define __NR_unshare 278
>>
>>
>
>How does this apply against 2.6.15-rc5-mm1, which adds spu_run and
>spu_create as syscalls 278 and 279?
>
>Paul.
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>