public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm 3/5] New system call, unshare (powerpc)
@ 2005-12-08 22:12 JANAK DESAI
  2005-12-09  3:07 ` Paul Mackerras
  0 siblings, 1 reply; 3+ messages in thread
From: JANAK DESAI @ 2005-12-08 22:12 UTC (permalink / raw)
  To: chrisw, viro, dwmw2, jamie, serue, linuxram, jmorris, sds, janak
  Cc: akpm, linux-kernel


[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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -mm 3/5] New system call, unshare (powerpc)
  2005-12-08 22:12 [PATCH -mm 3/5] New system call, unshare (powerpc) JANAK DESAI
@ 2005-12-09  3:07 ` Paul Mackerras
  2005-12-09  4:18   ` JANAK DESAI
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 2005-12-09  3:07 UTC (permalink / raw)
  To: janak
  Cc: chrisw, viro, dwmw2, jamie, serue, linuxram, jmorris, sds, akpm,
	linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -mm 3/5] New system call, unshare (powerpc)
  2005-12-09  3:07 ` Paul Mackerras
@ 2005-12-09  4:18   ` JANAK DESAI
  0 siblings, 0 replies; 3+ messages in thread
From: JANAK DESAI @ 2005-12-09  4:18 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: chrisw, viro, dwmw2, jamie, serue, linuxram, jmorris, akpm,
	linux-kernel


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 majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>
>  
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-09  4:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-08 22:12 [PATCH -mm 3/5] New system call, unshare (powerpc) JANAK DESAI
2005-12-09  3:07 ` Paul Mackerras
2005-12-09  4:18   ` JANAK DESAI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox