All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm 5/9] unshare system call: system call registration for x86_64
@ 2005-12-13 22:54 JANAK DESAI
  0 siblings, 0 replies; 3+ messages in thread
From: JANAK DESAI @ 2005-12-13 22:54 UTC (permalink / raw)
  To: viro, chrisw, dwmw2, jamie, serue, mingo, linuxram, jmorris, sds, janak
  Cc: akpm, linux-kernel

 
[PATCH -mm 5/9] unshare system call: system call registration for x86_64

Registers system call for the x86_64 architecture.

Changes since the first submission of this patch on 12/12/05:
	None.
 
Signed-off-by: Janak Desai <janak@us.ibm.com>
 
---
 
 arch/x86_64/ia32/ia32entry.S     |    1 +
 include/asm-x86_64/ia32_unistd.h |    3 ++-
 include/asm-x86_64/unistd.h      |    4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)
 
diff -Naurp 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S
--- 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S	2005-12-12 03:05:40.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S	2005-12-12 20:33:22.000000000 +0000
@@ -666,6 +666,7 @@ ia32_sys_call_table:
 	.quad sys_inotify_init
 	.quad sys_inotify_add_watch
 	.quad sys_inotify_rm_watch
+	.quad sys_unshare
 ia32_syscall_end:		
 	.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
 		.quad ni_syscall
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h	2005-10-28 00:02:08.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h	2005-12-12 20:35:35.000000000 +0000
@@ -299,7 +299,8 @@
 #define __NR_ia32_inotify_init		291
 #define __NR_ia32_inotify_add_watch	292
 #define __NR_ia32_inotify_rm_watch	293
+#define __NR_ia32_unshare		294
 
-#define IA32_NR_syscalls 294	/* must be > than biggest syscall! */
+#define IA32_NR_syscalls 295	/* must be > than biggest syscall! */
 
 #endif /* _ASM_X86_64_IA32_UNISTD_H_ */
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h	2005-12-12 03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h	2005-12-12 20:38:12.000000000 +0000
@@ -573,8 +573,10 @@ __SYSCALL(__NR_inotify_add_watch, sys_in
 __SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
 #define __NR_migrate_pages	256
 __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
+#define __NR_unshare		257
+__SYSCALL(__NR_unshare, sys_unshare)
 
-#define __NR_syscall_max __NR_migrate_pages
+#define __NR_syscall_max __NR_unshare
 #ifndef __NO_STUBS
 
 /* user-visible error numbers are in the range -1 - -4095 */



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

* [PATCH -mm 5/9] unshare system call : system call registration for x86_64
@ 2005-12-13 13:43 JANAK DESAI
  0 siblings, 0 replies; 3+ messages in thread
From: JANAK DESAI @ 2005-12-13 13:43 UTC (permalink / raw)
  To: viro, chrisw, dwmw2, jamie, serue, mingo, linuxram, jmorris, sds, janak
  Cc: akpm, linux-kernel


[PATCH -mm 5/9] unshare system call: System call registration for x86_64
                                                                                
Signed-off-by: Janak Desai
                                                                                

 arch/x86_64/ia32/ia32entry.S     |    1 +
 include/asm-x86_64/ia32_unistd.h |    3 ++-
 include/asm-x86_64/unistd.h      |    4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)
 
 
diff -Naurp 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S
--- 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S	2005-12-12 03:05:40.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S	2005-12-12 20:33:22.000000000 +0000
@@ -666,6 +666,7 @@ ia32_sys_call_table:
 	.quad sys_inotify_init
 	.quad sys_inotify_add_watch
 	.quad sys_inotify_rm_watch
+	.quad sys_unshare
 ia32_syscall_end:		
 	.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
 		.quad ni_syscall
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h	2005-10-28 00:02:08.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h	2005-12-12 20:35:35.000000000 +0000
@@ -299,7 +299,8 @@
 #define __NR_ia32_inotify_init		291
 #define __NR_ia32_inotify_add_watch	292
 #define __NR_ia32_inotify_rm_watch	293
+#define __NR_ia32_unshare		294
 
-#define IA32_NR_syscalls 294	/* must be > than biggest syscall! */
+#define IA32_NR_syscalls 295	/* must be > than biggest syscall! */
 
 #endif /* _ASM_X86_64_IA32_UNISTD_H_ */
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h	2005-12-12 03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h	2005-12-12 20:38:12.000000000 +0000
@@ -573,8 +573,10 @@ __SYSCALL(__NR_inotify_add_watch, sys_in
 __SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
 #define __NR_migrate_pages	256
 __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
+#define __NR_unshare		257
+__SYSCALL(__NR_unshare, sys_unshare)
 
-#define __NR_syscall_max __NR_migrate_pages
+#define __NR_syscall_max __NR_unshare
 #ifndef __NO_STUBS
 
 /* user-visible error numbers are in the range -1 - -4095 */



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

* [PATCH -mm 5/9] unshare system call : system call registration for x86_64
@ 2005-12-13  3:00 JANAK DESAI
  0 siblings, 0 replies; 3+ messages in thread
From: JANAK DESAI @ 2005-12-13  3:00 UTC (permalink / raw)
  To: viro, chrisw, dwmw2, jamie, serue, mingo, linuxram, jmorris, sds, janak
  Cc: akpm, linux-kernel


[PATCH -mm 5/9] unshare system call: System call registration for x86_64
                                                                                
Signed-off-by: Janak Desai
                                                                                

 arch/x86_64/ia32/ia32entry.S     |    1 +
 include/asm-x86_64/ia32_unistd.h |    3 ++-
 include/asm-x86_64/unistd.h      |    4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)
 
 
diff -Naurp 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S
2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S
--- 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S	2005-12-12
03:05:40.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S	2005-12-12
20:33:22.000000000 +0000
@@ -666,6 +666,7 @@ ia32_sys_call_table:
 	.quad sys_inotify_init
 	.quad sys_inotify_add_watch
 	.quad sys_inotify_rm_watch
+	.quad sys_unshare
 ia32_syscall_end:		
 	.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
 		.quad ni_syscall
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h
2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h	2005-10-28
00:02:08.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h	2005-12-12
20:35:35.000000000 +0000
@@ -299,7 +299,8 @@
 #define __NR_ia32_inotify_init		291
 #define __NR_ia32_inotify_add_watch	292
 #define __NR_ia32_inotify_rm_watch	293
+#define __NR_ia32_unshare		294
 
-#define IA32_NR_syscalls 294	/* must be > than biggest syscall! */
+#define IA32_NR_syscalls 295	/* must be > than biggest syscall! */
 
 #endif /* _ASM_X86_64_IA32_UNISTD_H_ */
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h
2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h	2005-12-12
03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h	2005-12-12
20:38:12.000000000 +0000
@@ -573,8 +573,10 @@ __SYSCALL(__NR_inotify_add_watch, sys_in
 __SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
 #define __NR_migrate_pages	256
 __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
+#define __NR_unshare		257
+__SYSCALL(__NR_unshare, sys_unshare)
 
-#define __NR_syscall_max __NR_migrate_pages
+#define __NR_syscall_max __NR_unshare
 #ifndef __NO_STUBS
 
 /* user-visible error numbers are in the range -1 - -4095 */



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

end of thread, other threads:[~2005-12-13 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 22:54 [PATCH -mm 5/9] unshare system call: system call registration for x86_64 JANAK DESAI
  -- strict thread matches above, loose matches on Subject: below --
2005-12-13 13:43 [PATCH -mm 5/9] unshare system call : " JANAK DESAI
2005-12-13  3:00 JANAK DESAI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.